├── .editorconfig ├── .gitattributes ├── .github ├── ARCHITECTURE.md ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── FAQ.md ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── RELEASE.md ├── SECURITY.md ├── codecov.yml ├── dependabot.yml ├── dependency_graph.svg ├── labeler.yml ├── typos.toml └── workflows │ ├── ci.yml │ ├── labeler.yml │ ├── title.yml │ ├── version_bump.yml │ └── workspace_publish.yml ├── .gitignore ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── Releases.md ├── _tmp └── .keep ├── _tools ├── check_browser_compat.ts ├── check_circular_package_dependencies.ts ├── check_docs.ts ├── check_export_names.ts ├── check_import_map.ts ├── check_mod_exports.ts ├── check_unstable_deps.ts ├── lint_plugin.ts ├── lint_plugin_test.ts ├── node_test_runner │ ├── .gitignore │ ├── deno_compat_hooks.mjs │ ├── package.json │ ├── register_deno_shim.mjs │ ├── run_test.mjs │ └── tsconfig_for_bun.json └── utils.ts ├── assert ├── almost_equals.ts ├── almost_equals_test.ts ├── array_includes.ts ├── array_includes_test.ts ├── assert.ts ├── assert_test.ts ├── assertion_error.ts ├── assertion_error_test.ts ├── deno.json ├── equal.ts ├── equal_test.ts ├── equals.ts ├── equals_test.ts ├── exists.ts ├── exists_test.ts ├── fail.ts ├── fail_test.ts ├── false.ts ├── false_test.ts ├── greater.ts ├── greater_or_equal.ts ├── greater_or_equal_test.ts ├── greater_test.ts ├── instance_of.ts ├── instance_of_test.ts ├── is_error.ts ├── is_error_test.ts ├── less.ts ├── less_or_equal.ts ├── less_or_equal_test.ts ├── less_test.ts ├── match.ts ├── match_test.ts ├── mod.ts ├── not_equals.ts ├── not_equals_test.ts ├── not_instance_of.ts ├── not_instance_of_test.ts ├── not_match.ts ├── not_match_test.ts ├── not_strict_equals.ts ├── not_strict_equals_test.ts ├── object_match.ts ├── object_match_test.ts ├── rejects.ts ├── rejects_test.ts ├── strict_equals.ts ├── strict_equals_test.ts ├── string_includes.ts ├── string_includes_test.ts ├── throws.ts ├── throws_test.ts ├── unimplemented.ts ├── unimplemented_test.ts ├── unreachable.ts ├── unreachable_test.ts ├── unstable_equals.ts ├── unstable_equals_test.ts ├── unstable_never.ts ├── unstable_never_test.ts └── unstable_strict_equals.ts ├── async ├── _util.ts ├── _util_test.ts ├── abortable.ts ├── abortable_test.ts ├── deadline.ts ├── deadline_test.ts ├── debounce.ts ├── debounce_test.ts ├── delay.ts ├── delay_test.ts ├── deno.json ├── mod.ts ├── mux_async_iterator.ts ├── mux_async_iterator_test.ts ├── pool.ts ├── pool_test.ts ├── retry.ts ├── retry_test.ts ├── tee.ts ├── tee_test.ts ├── unstable_mux_async_iterator.ts ├── unstable_mux_async_iterator_test.ts ├── unstable_retry.ts ├── unstable_retry_test.ts ├── unstable_throttle.ts ├── unstable_throttle_test.ts ├── unstable_wait_for.ts └── unstable_wait_for_test.ts ├── badge.svg ├── browser-compat.tsconfig.json ├── bytes ├── _types.ts ├── concat.ts ├── concat_test.ts ├── copy.ts ├── copy_test.ts ├── deno.json ├── ends_with.ts ├── ends_with_test.ts ├── equals.ts ├── equals_test.ts ├── includes_needle.ts ├── includes_needle_test.ts ├── index_of_needle.ts ├── index_of_needle_test.ts ├── last_index_of_needle.ts ├── last_index_of_needle_test.ts ├── mod.ts ├── repeat.ts ├── repeat_test.ts ├── starts_with.ts └── starts_with_test.ts ├── cache ├── _serialize_arg_list.ts ├── _serialize_arg_list_test.ts ├── deno.json ├── lru_cache.ts ├── lru_cache_test.ts ├── memoize.ts ├── memoize_test.ts ├── mod.ts ├── ttl_cache.ts └── ttl_cache_test.ts ├── cbor ├── _array_decoded_stream.ts ├── _array_decoded_stream_test.ts ├── _byte_decoded_stream.ts ├── _byte_decoded_stream_test.ts ├── _common.ts ├── _common_decode.ts ├── _common_encode.ts ├── _common_test.ts ├── _map_decoded_stream.ts ├── _map_decoded_stream_test.ts ├── _text_decoded_stream.ts ├── _text_decoded_stream_test.ts ├── array_encoder_stream.ts ├── array_encoder_stream_test.ts ├── byte_encoder_stream.ts ├── byte_encoder_stream_test.ts ├── decode_cbor.ts ├── decode_cbor_sequence.ts ├── decode_cbor_sequence_test.ts ├── decode_cbor_test.ts ├── deno.json ├── encode_cbor.ts ├── encode_cbor_sequence.ts ├── encode_cbor_sequence_test.ts ├── encode_cbor_test.ts ├── map_encoder_stream.ts ├── map_encoder_stream_test.ts ├── mod.ts ├── sequence_decoder_stream.ts ├── sequence_decoder_stream_test.ts ├── sequence_encoder_stream.ts ├── sequence_encoder_stream_test.ts ├── tag.ts ├── text_encoder_stream.ts ├── text_encoder_stream_test.ts └── types.ts ├── cli ├── _data.json ├── _prompt_select.ts ├── _run_length.ts ├── _run_length_test.ts ├── _tools │ ├── compare_with_rust.ts │ └── generate_data.ts ├── _types.ts ├── _unit.ts ├── deno.json ├── mod.ts ├── parse_args.ts ├── parse_args_test.ts ├── prompt_secret.ts ├── prompt_secret_test.ts ├── testdata │ └── unicode_width_crate │ │ ├── Cargo.lock │ │ ├── Cargo.toml │ │ └── src │ │ └── lib.rs ├── unicode_width.ts ├── unicode_width_test.ts ├── unstable_ansi.ts ├── unstable_progress_bar.ts ├── unstable_progress_bar_stream.ts ├── unstable_progress_bar_stream_test.ts ├── unstable_progress_bar_test.ts ├── unstable_prompt_multiple_select.ts ├── unstable_prompt_multiple_select_test.ts ├── unstable_prompt_select.ts ├── unstable_prompt_select_test.ts ├── unstable_spinner.ts └── unstable_spinner_test.ts ├── collections ├── _utils.ts ├── _utils_test.ts ├── aggregate_groups.ts ├── aggregate_groups_test.ts ├── associate_by.ts ├── associate_by_test.ts ├── associate_with.ts ├── associate_with_test.ts ├── chunk.ts ├── chunk_test.ts ├── deep_merge.ts ├── deep_merge_test.ts ├── deno.json ├── distinct.ts ├── distinct_by.ts ├── distinct_by_test.ts ├── distinct_test.ts ├── drop_last_while.ts ├── drop_last_while_test.ts ├── drop_while.ts ├── drop_while_test.ts ├── filter_entries.ts ├── filter_entries_test.ts ├── filter_keys.ts ├── filter_keys_test.ts ├── filter_values.ts ├── filter_values_test.ts ├── find_single.ts ├── find_single_test.ts ├── first_not_nullish_of.ts ├── first_not_nullish_of_test.ts ├── includes_value.ts ├── includes_value_test.ts ├── intersect.ts ├── intersect_test.ts ├── invert.ts ├── invert_by.ts ├── invert_by_test.ts ├── invert_test.ts ├── join_to_string.ts ├── join_to_string_test.ts ├── map_entries.ts ├── map_entries_test.ts ├── map_keys.ts ├── map_keys_test.ts ├── map_not_nullish.ts ├── map_not_nullish_test.ts ├── map_values.ts ├── map_values_test.ts ├── max_by.ts ├── max_by_test.ts ├── max_of.ts ├── max_of_test.ts ├── max_with.ts ├── max_with_test.ts ├── min_by.ts ├── min_by_test.ts ├── min_of.ts ├── min_of_test.ts ├── min_with.ts ├── min_with_test.ts ├── mod.ts ├── omit.ts ├── omit_test.ts ├── partition.ts ├── partition_entries.ts ├── partition_entries_test.ts ├── partition_test.ts ├── permutations.ts ├── permutations_test.ts ├── pick.ts ├── pick_test.ts ├── reduce_groups.ts ├── reduce_groups_test.ts ├── running_reduce.ts ├── running_reduce_test.ts ├── sample.ts ├── sample_test.ts ├── sliding_windows.ts ├── sliding_windows_test.ts ├── sort_by.ts ├── sort_by_test.ts ├── sum_of.ts ├── sum_of_test.ts ├── take_last_while.ts ├── take_last_while_test.ts ├── take_while.ts ├── take_while_test.ts ├── union.ts ├── union_test.ts ├── unstable_binary_search.ts ├── unstable_binary_search_test.ts ├── unstable_cycle.ts ├── unstable_cycle_test.ts ├── unzip.ts ├── unzip_test.ts ├── without_all.ts ├── without_all_test.ts ├── zip.ts └── zip_test.ts ├── crypto ├── _benches │ └── bench.ts ├── _wasm │ ├── .cargo │ │ └── config.toml │ ├── .rustfmt.toml │ ├── Cargo.lock │ ├── Cargo.toml │ ├── README.md │ ├── lib │ │ ├── deno_std_wasm_crypto.d.mts │ │ ├── deno_std_wasm_crypto.internal.mjs │ │ └── deno_std_wasm_crypto.mjs │ ├── mod.ts │ ├── rust-toolchain.toml │ ├── src │ │ ├── digest.rs │ │ ├── fnv.rs │ │ └── lib.rs │ └── test.ts ├── crypto.ts ├── crypto_test.ts ├── deno.json ├── mod.ts ├── testdata │ ├── digest_large_inputs.ts │ └── digest_many_calls.ts ├── timing_safe_equal.ts └── timing_safe_equal_test.ts ├── csv ├── _io.ts ├── _shared.ts ├── deno.json ├── mod.ts ├── parse.ts ├── parse_stream.ts ├── parse_stream_test.ts ├── parse_test.ts ├── stringify.ts ├── stringify_stream.ts ├── stringify_stream_test.ts ├── stringify_test.ts ├── testdata │ ├── large.csv │ └── simple.csv ├── unstable_stringify.ts └── unstable_stringify_test.ts ├── data_structures ├── _binary_search_node.ts ├── _binary_search_node_test.ts ├── _binary_search_tree_internals.ts ├── _red_black_node.ts ├── _red_black_node_test.ts ├── _test_utils.ts ├── binary_heap.ts ├── binary_heap_test.ts ├── binary_search_tree.ts ├── binary_search_tree_test.ts ├── comparators.ts ├── comparators_test.ts ├── deno.json ├── mod.ts ├── red_black_tree.ts ├── red_black_tree_test.ts ├── unstable_2d_array.ts ├── unstable_2d_array_test.ts ├── unstable_bidirectional_map.ts ├── unstable_bidirectional_map_test.ts ├── unstable_binary_search_tree.ts └── unstable_binary_search_tree_test.ts ├── datetime ├── _date_time_formatter.ts ├── _date_time_formatter_test.ts ├── constants.ts ├── day_of_year.ts ├── day_of_year_test.ts ├── deno.json ├── difference.ts ├── difference_test.ts ├── format.ts ├── format_test.ts ├── is_leap.ts ├── is_leap_test.ts ├── mod.ts ├── parse.ts ├── parse_test.ts ├── week_of_year.ts └── week_of_year_test.ts ├── deno.json ├── dotenv ├── deno.json ├── load.ts ├── load_test.ts ├── mod.ts ├── mod_test.ts ├── parse.ts ├── parse_test.ts ├── stringify.ts ├── stringify_test.ts └── testdata │ ├── .env │ ├── .env.comments │ ├── .env.expand.test │ ├── .env.multiple │ ├── .env.single.expand │ ├── .env.test │ ├── app_defaults.ts │ ├── app_load.ts │ ├── app_load_child.ts │ └── app_load_parent.ts ├── encoding ├── _common16.ts ├── _common32.ts ├── _common64.ts ├── _common_detach.ts ├── _random_slice_stream.ts ├── _types.ts ├── _validate_binary_like.ts ├── _validate_binary_like_test.ts ├── ascii85.ts ├── ascii85_test.ts ├── base32.ts ├── base32_test.ts ├── base58.ts ├── base58_test.ts ├── base64.ts ├── base64_test.ts ├── base64url.ts ├── base64url_test.ts ├── deno.json ├── hex.ts ├── hex_test.ts ├── mod.ts ├── unstable_base32.ts ├── unstable_base32_stream.ts ├── unstable_base32_stream_test.ts ├── unstable_base32_test.ts ├── unstable_base64.ts ├── unstable_base64_stream.ts ├── unstable_base64_stream_test.ts ├── unstable_base64_test.ts ├── unstable_hex.ts ├── unstable_hex_stream.ts ├── unstable_hex_stream_test.ts ├── unstable_hex_test.ts ├── varint.ts └── varint_test.ts ├── expect ├── _any_test.ts ├── _anything_test.ts ├── _array_containing_test.ts ├── _assert_equals.ts ├── _assert_equals_test.ts ├── _assert_is_error.ts ├── _assert_not_equals.ts ├── _assert_not_equals_test.ts ├── _assertions.ts ├── _assertions_test.ts ├── _asymmetric_matchers.ts ├── _build_message.ts ├── _close_to_test.ts ├── _custom_equality_tester.ts ├── _custom_equality_tester_test.ts ├── _equal.ts ├── _equal_test.ts ├── _extend.ts ├── _extend_test.ts ├── _inspect_args.ts ├── _matchers.ts ├── _mock_util.ts ├── _object_containing_test.ts ├── _serializer.ts ├── _serializer_test.ts ├── _string_containing_test.ts ├── _string_matching_test.ts ├── _to_be_close_to_test.ts ├── _to_be_defined_test.ts ├── _to_be_falsy_test.ts ├── _to_be_greater_than_or_equal_test.ts ├── _to_be_greater_than_test.ts ├── _to_be_instance_of_test.ts ├── _to_be_less_than_or_equal_test.ts ├── _to_be_less_than_test.ts ├── _to_be_nan_test.ts ├── _to_be_null_test.ts ├── _to_be_test.ts ├── _to_be_truthy_test.ts ├── _to_be_undefined_test.ts ├── _to_contain_equal_test.ts ├── _to_contain_test.ts ├── _to_equal_test.ts ├── _to_have_been_called_test.ts ├── _to_have_been_called_times_test.ts ├── _to_have_been_called_with_test.ts ├── _to_have_been_last_called_with_test.ts ├── _to_have_been_nth_called_with_test.ts ├── _to_have_last_returned_with_test.ts ├── _to_have_length_test.ts ├── _to_have_nth_returned_with_test.ts ├── _to_have_property_test.ts ├── _to_have_returned_test.ts ├── _to_have_returned_times_test.ts ├── _to_have_returned_with.ts ├── _to_have_returned_with_test.ts ├── _to_match_object_test.ts ├── _to_match_test.ts ├── _to_strict_equal_test.ts ├── _to_throw_test.ts ├── _types.ts ├── _utils.ts ├── deno.json ├── expect.ts ├── fn.ts ├── mod.ts └── test.ts ├── fmt ├── README.md ├── bytes.ts ├── bytes_test.ts ├── colors.ts ├── colors_test.ts ├── deno.json ├── duration.ts ├── duration_test.ts ├── printf.ts └── printf_test.ts ├── front_matter ├── _formats.ts ├── _shared.ts ├── any.ts ├── any_test.ts ├── deno.json ├── json.ts ├── json_test.ts ├── mod.ts ├── test.ts ├── test_test.ts ├── toml.ts ├── toml_test.ts ├── types.ts ├── unstable_yaml.ts ├── yaml.ts └── yaml_test.ts ├── fs ├── _create_walk_entry.ts ├── _get_file_info_type.ts ├── _get_file_info_type_test.ts ├── _get_fs_flag.ts ├── _is_same_path.ts ├── _is_same_path_test.ts ├── _is_subdir.ts ├── _is_subdir_test.ts ├── _map_error.ts ├── _node_fs_file.ts ├── _node_fs_file_test.ts ├── _to_dir_entry.ts ├── _to_file_info.ts ├── _to_path_string.ts ├── _utils.ts ├── copy.ts ├── copy_test.ts ├── deno.json ├── empty_dir.ts ├── empty_dir_test.ts ├── ensure_dir.ts ├── ensure_dir_test.ts ├── ensure_file.ts ├── ensure_file_test.ts ├── ensure_link.ts ├── ensure_link_test.ts ├── ensure_symlink.ts ├── ensure_symlink_test.ts ├── eol.ts ├── eol_test.ts ├── exists.ts ├── exists_test.ts ├── expand_glob.ts ├── expand_glob_test.ts ├── mod.ts ├── move.ts ├── move_test.ts ├── testdata │ ├── 0-link │ ├── 0.ts │ ├── copy_dir │ │ ├── 0.txt │ │ └── nest │ │ │ └── 0.txt │ ├── copy_dir_link_file │ │ └── 0.txt │ ├── copy_file.txt │ ├── copy_file_bom.txt │ ├── empty_dir.ts │ ├── empty_dir_sync.ts │ ├── ensure_dir │ │ ├── dir │ │ │ └── .keep │ │ ├── f │ │ ├── ldir │ │ └── lf │ ├── expand_wildcard.js │ ├── glob │ │ ├── a[b]c │ │ │ └── foo │ │ ├── abc │ │ ├── abcdef │ │ ├── abcdefghi │ │ ├── link │ │ └── subdir │ │ │ └── abc │ └── walk │ │ ├── depth │ │ └── a │ │ │ └── b │ │ │ └── c │ │ │ └── d │ │ │ └── x │ │ ├── ext │ │ ├── x.ts │ │ ├── y.rs │ │ └── z.py │ │ ├── fifo │ │ └── .gitignore │ │ ├── match │ │ ├── x │ │ ├── y │ │ └── z │ │ ├── nested_single_file │ │ └── a │ │ │ └── x │ │ ├── single_file │ │ └── x │ │ ├── socket │ │ └── .gitignore │ │ └── symlink │ │ ├── a │ │ └── z │ │ ├── b │ │ ├── x │ │ └── y ├── unstable_chmod.ts ├── unstable_chmod_test.ts ├── unstable_chown.ts ├── unstable_chown_test.ts ├── unstable_copy_file.ts ├── unstable_copy_file_test.ts ├── unstable_create.ts ├── unstable_create_test.ts ├── unstable_errors.d.ts ├── unstable_errors.js ├── unstable_link.ts ├── unstable_link_test.ts ├── unstable_lstat.ts ├── unstable_lstat_test.ts ├── unstable_make_temp_dir.ts ├── unstable_make_temp_dir_test.ts ├── unstable_make_temp_file.ts ├── unstable_make_temp_file_test.ts ├── unstable_mkdir.ts ├── unstable_mkdir_test.ts ├── unstable_open.ts ├── unstable_open_test.ts ├── unstable_read_dir.ts ├── unstable_read_dir_test.ts ├── unstable_read_file.ts ├── unstable_read_file_test.ts ├── unstable_read_link.ts ├── unstable_read_link_test.ts ├── unstable_read_text_file.ts ├── unstable_read_text_file_test.ts ├── unstable_real_path.ts ├── unstable_real_path_test.ts ├── unstable_remove.ts ├── unstable_remove_test.ts ├── unstable_rename.ts ├── unstable_rename_test.ts ├── unstable_stat.ts ├── unstable_stat_test.ts ├── unstable_symlink.ts ├── unstable_symlink_test.ts ├── unstable_truncate.ts ├── unstable_truncate_test.ts ├── unstable_types.ts ├── unstable_umask.ts ├── unstable_umask_test.ts ├── unstable_utime.ts ├── unstable_utime_test.ts ├── unstable_write_file.ts ├── unstable_write_file_test.ts ├── unstable_write_text_file.ts ├── unstable_write_text_file_test.ts ├── walk.ts └── walk_test.ts ├── html ├── _tools │ └── generate_data.ts ├── deno.json ├── entities.ts ├── entities_test.ts ├── mod.ts ├── named_entity_list.json ├── unstable_escape_css.ts ├── unstable_escape_css_test.ts ├── unstable_escape_js.ts ├── unstable_escape_js_test.ts ├── unstable_is_valid_custom_element_name.ts └── unstable_is_valid_custom_element_name_test.ts ├── http ├── _negotiation │ ├── common.ts │ ├── encoding.ts │ ├── language.ts │ └── media_type.ts ├── cookie.ts ├── cookie_test.ts ├── deno.json ├── etag.ts ├── etag_test.ts ├── file_server.ts ├── file_server_test.ts ├── mod.ts ├── negotiation.ts ├── negotiation_test.ts ├── server_sent_event_stream.ts ├── server_sent_event_stream_test.ts ├── status.ts ├── status_test.ts ├── testdata │ ├── .dotfile │ ├── desktop.ini │ ├── file_server_as_library.ts │ ├── hello.html │ ├── nested-subdirs │ │ └── subdir │ │ │ └── test_file.txt │ ├── subdir-with-index │ │ └── index.html │ ├── test_clean_urls.html │ ├── test_clean_urls │ │ └── .gitkeep │ ├── test_empty_file.txt │ ├── test_file.txt │ ├── tls │ │ ├── README.md │ │ ├── RootCA.crt │ │ ├── RootCA.key │ │ ├── RootCA.pem │ │ ├── domains.txt │ │ ├── localhost.crt │ │ └── localhost.key │ └── user_agent │ │ ├── browser-all.json │ │ ├── cpu-all.json │ │ ├── device-all.json │ │ ├── engine-all.json │ │ └── os-all.json ├── unstable_file_server.ts ├── unstable_header.ts ├── unstable_header_test.ts ├── unstable_method.ts ├── unstable_method_test.ts ├── unstable_route.ts ├── unstable_route_test.ts ├── unstable_signed_cookie.ts ├── unstable_signed_cookie_test.ts ├── user_agent.ts └── user_agent_test.ts ├── import_map.json ├── ini ├── deno.json ├── mod.ts ├── parse.ts ├── parse_test.ts ├── stringify.ts └── stringify_test.ts ├── internal ├── _is_deno_2.ts ├── _os.ts ├── _os_test.ts ├── _testing.ts ├── assertion_state.ts ├── assertion_state_test.ts ├── build_message.ts ├── build_message_test.ts ├── deno.json ├── diff.ts ├── diff_str.ts ├── diff_str_test.ts ├── diff_test.ts ├── format.ts ├── format_test.ts ├── mod.ts ├── os.ts ├── styles.ts ├── styles_test.ts ├── truncate_build_message.ts ├── truncate_build_message_test.ts └── types.ts ├── io ├── _common.ts ├── _constants.ts ├── _test_common.ts ├── buffer.ts ├── buffer_test.ts ├── copy.ts ├── copy_test.ts ├── deno.json ├── iterate_reader.ts ├── iterate_reader_test.ts ├── mod.ts ├── read_all.ts ├── read_all_test.ts ├── reader_from_stream_reader.ts ├── reader_from_stream_reader_test.ts ├── testdata │ ├── copy-src.txt │ └── iso-8859-15.txt ├── to_readable_stream.ts ├── to_readable_stream_test.ts ├── to_writable_stream.ts ├── to_writable_stream_test.ts ├── types.ts ├── write_all.ts └── write_all_test.ts ├── json ├── _common.ts ├── _test_utils.ts ├── concatenated_json_parse_stream.ts ├── concatenated_json_parse_stream_test.ts ├── deno.json ├── mod.ts ├── parse_stream.ts ├── parse_stream_test.ts ├── stringify_stream.ts ├── stringify_stream_test.ts ├── testdata │ ├── test.concatenated-json │ ├── test.json-seq │ ├── test.jsonl │ └── test.ndjson └── types.ts ├── jsonc ├── deno.json ├── mod.ts ├── parse.ts ├── parse_test.ts └── testdata │ ├── JSONTestSuite │ ├── README.md │ ├── test.ts │ ├── test_parsing │ │ ├── i_number_double_huge_neg_exp.json │ │ ├── i_number_huge_exp.json │ │ ├── i_number_neg_int_huge_exp.json │ │ ├── i_number_pos_double_huge_exp.json │ │ ├── i_number_real_neg_overflow.json │ │ ├── i_number_real_pos_overflow.json │ │ ├── i_number_real_underflow.json │ │ ├── i_number_too_big_neg_int.json │ │ ├── i_number_too_big_pos_int.json │ │ ├── i_number_very_big_negative_int.json │ │ ├── i_object_key_lone_2nd_surrogate.json │ │ ├── i_string_1st_surrogate_but_2nd_missing.json │ │ ├── i_string_1st_valid_surrogate_2nd_invalid.json │ │ ├── i_string_UTF-16LE_with_BOM.json │ │ ├── i_string_UTF-8_invalid_sequence.json │ │ ├── i_string_UTF8_surrogate_U+D800.json │ │ ├── i_string_incomplete_surrogate_and_escape_valid.json │ │ ├── i_string_incomplete_surrogate_pair.json │ │ ├── i_string_incomplete_surrogates_escape_valid.json │ │ ├── i_string_invalid_lonely_surrogate.json │ │ ├── i_string_invalid_surrogate.json │ │ ├── i_string_invalid_utf-8.json │ │ ├── i_string_inverted_surrogates_U+1D11E.json │ │ ├── i_string_iso_latin_1.json │ │ ├── i_string_lone_second_surrogate.json │ │ ├── i_string_lone_utf8_continuation_byte.json │ │ ├── i_string_not_in_unicode_range.json │ │ ├── i_string_overlong_sequence_2_bytes.json │ │ ├── i_string_overlong_sequence_6_bytes.json │ │ ├── i_string_overlong_sequence_6_bytes_null.json │ │ ├── i_string_truncated-utf-8.json │ │ ├── i_string_utf16BE_no_BOM.json │ │ ├── i_string_utf16LE_no_BOM.json │ │ ├── i_structure_500_nested_arrays.json │ │ ├── i_structure_UTF-8_BOM_empty_object.json │ │ ├── n_array_1_true_without_comma.json │ │ ├── n_array_a_invalid_utf8.json │ │ ├── n_array_colon_instead_of_comma.json │ │ ├── n_array_comma_after_close.json │ │ ├── n_array_comma_and_number.json │ │ ├── n_array_double_comma.json │ │ ├── n_array_double_extra_comma.json │ │ ├── n_array_extra_close.json │ │ ├── n_array_extra_comma.json │ │ ├── n_array_incomplete.json │ │ ├── n_array_incomplete_invalid_value.json │ │ ├── n_array_inner_array_no_comma.json │ │ ├── n_array_invalid_utf8.json │ │ ├── n_array_items_separated_by_semicolon.json │ │ ├── n_array_just_comma.json │ │ ├── n_array_just_minus.json │ │ ├── n_array_missing_value.json │ │ ├── n_array_newlines_unclosed.json │ │ ├── n_array_number_and_comma.json │ │ ├── n_array_number_and_several_commas.json │ │ ├── n_array_spaces_vertical_tab_formfeed.json │ │ ├── n_array_star_inside.json │ │ ├── n_array_unclosed.json │ │ ├── n_array_unclosed_trailing_comma.json │ │ ├── n_array_unclosed_with_new_lines.json │ │ ├── n_array_unclosed_with_object_inside.json │ │ ├── n_incomplete_false.json │ │ ├── n_incomplete_null.json │ │ ├── n_incomplete_true.json │ │ ├── n_multidigit_number_then_00.json │ │ ├── n_number_++.json │ │ ├── n_number_+1.json │ │ ├── n_number_+Inf.json │ │ ├── n_number_-01.json │ │ ├── n_number_-1.0..json │ │ ├── n_number_-2..json │ │ ├── n_number_-NaN.json │ │ ├── n_number_.-1.json │ │ ├── n_number_.2e-3.json │ │ ├── n_number_0.1.2.json │ │ ├── n_number_0.3e+.json │ │ ├── n_number_0.3e.json │ │ ├── n_number_0.e1.json │ │ ├── n_number_0_capital_E+.json │ │ ├── n_number_0_capital_E.json │ │ ├── n_number_0e+.json │ │ ├── n_number_0e.json │ │ ├── n_number_1.0e+.json │ │ ├── n_number_1.0e-.json │ │ ├── n_number_1.0e.json │ │ ├── n_number_1_000.json │ │ ├── n_number_1eE2.json │ │ ├── n_number_2.e+3.json │ │ ├── n_number_2.e-3.json │ │ ├── n_number_2.e3.json │ │ ├── n_number_9.e+.json │ │ ├── n_number_Inf.json │ │ ├── n_number_NaN.json │ │ ├── n_number_U+FF11_fullwidth_digit_one.json │ │ ├── n_number_expression.json │ │ ├── n_number_hex_1_digit.json │ │ ├── n_number_hex_2_digits.json │ │ ├── n_number_infinity.json │ │ ├── n_number_invalid+-.json │ │ ├── n_number_invalid-negative-real.json │ │ ├── n_number_invalid-utf-8-in-bigger-int.json │ │ ├── n_number_invalid-utf-8-in-exponent.json │ │ ├── n_number_invalid-utf-8-in-int.json │ │ ├── n_number_minus_infinity.json │ │ ├── n_number_minus_sign_with_trailing_garbage.json │ │ ├── n_number_minus_space_1.json │ │ ├── n_number_neg_int_starting_with_zero.json │ │ ├── n_number_neg_real_without_int_part.json │ │ ├── n_number_neg_with_garbage_at_end.json │ │ ├── n_number_real_garbage_after_e.json │ │ ├── n_number_real_with_invalid_utf8_after_e.json │ │ ├── n_number_real_without_fractional_part.json │ │ ├── n_number_starting_with_dot.json │ │ ├── n_number_with_alpha.json │ │ ├── n_number_with_alpha_char.json │ │ ├── n_number_with_leading_zero.json │ │ ├── n_object_bad_value.json │ │ ├── n_object_bracket_key.json │ │ ├── n_object_comma_instead_of_colon.json │ │ ├── n_object_double_colon.json │ │ ├── n_object_emoji.json │ │ ├── n_object_garbage_at_end.json │ │ ├── n_object_key_with_single_quotes.json │ │ ├── n_object_missing_colon.json │ │ ├── n_object_missing_key.json │ │ ├── n_object_missing_semicolon.json │ │ ├── n_object_missing_value.json │ │ ├── n_object_no-colon.json │ │ ├── n_object_non_string_key.json │ │ ├── n_object_non_string_key_but_huge_number_instead.json │ │ ├── n_object_repeated_null_null.json │ │ ├── n_object_several_trailing_commas.json │ │ ├── n_object_single_quote.json │ │ ├── n_object_trailing_comma.json │ │ ├── n_object_trailing_comment_open.json │ │ ├── n_object_trailing_comment_slash_open_incomplete.json │ │ ├── n_object_two_commas_in_a_row.json │ │ ├── n_object_unquoted_key.json │ │ ├── n_object_unterminated-value.json │ │ ├── n_object_with_single_string.json │ │ ├── n_object_with_trailing_garbage.json │ │ ├── n_single_space.json │ │ ├── n_string_1_surrogate_then_escape.json │ │ ├── n_string_1_surrogate_then_escape_u.json │ │ ├── n_string_1_surrogate_then_escape_u1.json │ │ ├── n_string_1_surrogate_then_escape_u1x.json │ │ ├── n_string_accentuated_char_no_quotes.json │ │ ├── n_string_backslash_00.json │ │ ├── n_string_escape_x.json │ │ ├── n_string_escaped_backslash_bad.json │ │ ├── n_string_escaped_ctrl_char_tab.json │ │ ├── n_string_escaped_emoji.json │ │ ├── n_string_incomplete_escape.json │ │ ├── n_string_incomplete_escaped_character.json │ │ ├── n_string_incomplete_surrogate.json │ │ ├── n_string_incomplete_surrogate_escape_invalid.json │ │ ├── n_string_invalid-utf-8-in-escape.json │ │ ├── n_string_invalid_backslash_esc.json │ │ ├── n_string_invalid_unicode_escape.json │ │ ├── n_string_invalid_utf8_after_escape.json │ │ ├── n_string_leading_uescaped_thinspace.json │ │ ├── n_string_no_quotes_with_bad_escape.json │ │ ├── n_string_single_doublequote.json │ │ ├── n_string_single_quote.json │ │ ├── n_string_single_string_no_double_quotes.json │ │ ├── n_string_start_escape_unclosed.json │ │ ├── n_string_unescaped_ctrl_char.json │ │ ├── n_string_unescaped_newline.json │ │ ├── n_string_unescaped_tab.json │ │ ├── n_string_unicode_CapitalU.json │ │ ├── n_string_with_trailing_garbage.json │ │ ├── n_structure_100000_opening_arrays.json │ │ ├── n_structure_U+2060_word_joined.json │ │ ├── n_structure_UTF8_BOM_no_data.json │ │ ├── n_structure_angle_bracket_..json │ │ ├── n_structure_angle_bracket_null.json │ │ ├── n_structure_array_trailing_garbage.json │ │ ├── n_structure_array_with_extra_array_close.json │ │ ├── n_structure_array_with_unclosed_string.json │ │ ├── n_structure_ascii-unicode-identifier.json │ │ ├── n_structure_capitalized_True.json │ │ ├── n_structure_close_unopened_array.json │ │ ├── n_structure_comma_instead_of_closing_brace.json │ │ ├── n_structure_double_array.json │ │ ├── n_structure_end_array.json │ │ ├── n_structure_incomplete_UTF8_BOM.json │ │ ├── n_structure_lone-invalid-utf-8.json │ │ ├── n_structure_lone-open-bracket.json │ │ ├── n_structure_no_data.json │ │ ├── n_structure_null-byte-outside-string.json │ │ ├── n_structure_number_with_trailing_garbage.json │ │ ├── n_structure_object_followed_by_closing_object.json │ │ ├── n_structure_object_unclosed_no_value.json │ │ ├── n_structure_object_with_trailing_garbage.json │ │ ├── n_structure_open_array_apostrophe.json │ │ ├── n_structure_open_array_comma.json │ │ ├── n_structure_open_array_object.json │ │ ├── n_structure_open_array_open_object.json │ │ ├── n_structure_open_array_open_string.json │ │ ├── n_structure_open_array_string.json │ │ ├── n_structure_open_object.json │ │ ├── n_structure_open_object_close_array.json │ │ ├── n_structure_open_object_comma.json │ │ ├── n_structure_open_object_open_array.json │ │ ├── n_structure_open_object_open_string.json │ │ ├── n_structure_open_object_string_with_apostrophes.json │ │ ├── n_structure_open_open.json │ │ ├── n_structure_single_eacute.json │ │ ├── n_structure_single_star.json │ │ ├── n_structure_trailing_hastag.json │ │ ├── n_structure_uescaped_LF_before_string.json │ │ ├── n_structure_unclosed_array.json │ │ ├── n_structure_unclosed_array_partial_null.json │ │ ├── n_structure_unclosed_array_unfinished_false.json │ │ ├── n_structure_unclosed_array_unfinished_true.json │ │ ├── n_structure_unclosed_object.json │ │ ├── n_structure_unicode-identifier.json │ │ ├── n_structure_whitespace_U+2060_word_joiner.json │ │ ├── n_structure_whitespace_formfeed.json │ │ ├── y_array_arraysWithSpaces.json │ │ ├── y_array_empty-string.json │ │ ├── y_array_empty.json │ │ ├── y_array_ending_with_newline.json │ │ ├── y_array_false.json │ │ ├── y_array_heterogeneous.json │ │ ├── y_array_null.json │ │ ├── y_array_with_1_and_newline.json │ │ ├── y_array_with_leading_space.json │ │ ├── y_array_with_several_null.json │ │ ├── y_array_with_trailing_space.json │ │ ├── y_number.json │ │ ├── y_number_0e+1.json │ │ ├── y_number_0e1.json │ │ ├── y_number_after_space.json │ │ ├── y_number_double_close_to_zero.json │ │ ├── y_number_int_with_exp.json │ │ ├── y_number_minus_zero.json │ │ ├── y_number_negative_int.json │ │ ├── y_number_negative_one.json │ │ ├── y_number_negative_zero.json │ │ ├── y_number_real_capital_e.json │ │ ├── y_number_real_capital_e_neg_exp.json │ │ ├── y_number_real_capital_e_pos_exp.json │ │ ├── y_number_real_exponent.json │ │ ├── y_number_real_fraction_exponent.json │ │ ├── y_number_real_neg_exp.json │ │ ├── y_number_real_pos_exponent.json │ │ ├── y_number_simple_int.json │ │ ├── y_number_simple_real.json │ │ ├── y_object.json │ │ ├── y_object_basic.json │ │ ├── y_object_duplicated_key.json │ │ ├── y_object_duplicated_key_and_value.json │ │ ├── y_object_empty.json │ │ ├── y_object_empty_key.json │ │ ├── y_object_escaped_null_in_key.json │ │ ├── y_object_extreme_numbers.json │ │ ├── y_object_long_strings.json │ │ ├── y_object_simple.json │ │ ├── y_object_string_unicode.json │ │ ├── y_object_with_newlines.json │ │ ├── y_string_1_2_3_bytes_UTF-8_sequences.json │ │ ├── y_string_accepted_surrogate_pair.json │ │ ├── y_string_accepted_surrogate_pairs.json │ │ ├── y_string_allowed_escapes.json │ │ ├── y_string_backslash_and_u_escaped_zero.json │ │ ├── y_string_backslash_doublequotes.json │ │ ├── y_string_comments.json │ │ ├── y_string_double_escape_a.json │ │ ├── y_string_double_escape_n.json │ │ ├── y_string_escaped_control_character.json │ │ ├── y_string_escaped_noncharacter.json │ │ ├── y_string_in_array.json │ │ ├── y_string_in_array_with_leading_space.json │ │ ├── y_string_last_surrogates_1_and_2.json │ │ ├── y_string_nbsp_uescaped.json │ │ ├── y_string_nonCharacterInUTF-8_U+10FFFF.json │ │ ├── y_string_nonCharacterInUTF-8_U+FFFF.json │ │ ├── y_string_null_escape.json │ │ ├── y_string_one-byte-utf-8.json │ │ ├── y_string_pi.json │ │ ├── y_string_reservedCharacterInUTF-8_U+1BFFF.json │ │ ├── y_string_simple_ascii.json │ │ ├── y_string_space.json │ │ ├── y_string_surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json │ │ ├── y_string_three-byte-utf-8.json │ │ ├── y_string_two-byte-utf-8.json │ │ ├── y_string_u+2028_line_sep.json │ │ ├── y_string_u+2029_par_sep.json │ │ ├── y_string_uEscape.json │ │ ├── y_string_uescaped_newline.json │ │ ├── y_string_unescaped_char_delete.json │ │ ├── y_string_unicode.json │ │ ├── y_string_unicodeEscapedBackslash.json │ │ ├── y_string_unicode_2.json │ │ ├── y_string_unicode_U+10FFFE_nonchar.json │ │ ├── y_string_unicode_U+1FFFE_nonchar.json │ │ ├── y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json │ │ ├── y_string_unicode_U+2064_invisible_plus.json │ │ ├── y_string_unicode_U+FDD0_nonchar.json │ │ ├── y_string_unicode_U+FFFE_nonchar.json │ │ ├── y_string_unicode_escaped_double_quote.json │ │ ├── y_string_utf8.json │ │ ├── y_string_with_del_character.json │ │ ├── y_structure_lonely_false.json │ │ ├── y_structure_lonely_int.json │ │ ├── y_structure_lonely_negative_real.json │ │ ├── y_structure_lonely_null.json │ │ ├── y_structure_lonely_string.json │ │ ├── y_structure_lonely_true.json │ │ ├── y_structure_string_empty.json │ │ ├── y_structure_trailing_newline.json │ │ ├── y_structure_true_in_array.json │ │ └── y_structure_whitespace_array.json │ └── test_transform │ │ ├── number_-9223372036854775808.json │ │ ├── number_-9223372036854775809.json │ │ ├── number_1.0.json │ │ ├── number_1.000000000000000005.json │ │ ├── number_1000000000000000.json │ │ ├── number_10000000000000000999.json │ │ ├── number_1e-999.json │ │ ├── number_1e6.json │ │ ├── number_9223372036854775807.json │ │ ├── number_9223372036854775808.json │ │ ├── object_key_nfc_nfd.json │ │ ├── object_key_nfd_nfc.json │ │ ├── object_same_key_different_values.json │ │ ├── object_same_key_same_value.json │ │ ├── object_same_key_unclear_values.json │ │ ├── string_1_escaped_invalid_codepoint.json │ │ ├── string_1_invalid_codepoint.json │ │ ├── string_2_escaped_invalid_codepoints.json │ │ ├── string_2_invalid_codepoints.json │ │ ├── string_3_escaped_invalid_codepoints.json │ │ ├── string_3_invalid_codepoints.json │ │ └── string_with_escaped_NULL.json │ ├── README.md │ └── test262 │ ├── JSON │ └── parse │ │ ├── 15.12.1.1-0-1.js │ │ ├── 15.12.1.1-0-2.js │ │ ├── 15.12.1.1-0-3.js │ │ ├── 15.12.1.1-0-4.js │ │ ├── 15.12.1.1-0-5.js │ │ ├── 15.12.1.1-0-6.js │ │ ├── 15.12.1.1-0-8.js │ │ ├── 15.12.1.1-0-9.js │ │ ├── 15.12.1.1-g1-1.js │ │ ├── 15.12.1.1-g1-2.js │ │ ├── 15.12.1.1-g1-3.js │ │ ├── 15.12.1.1-g1-4.js │ │ ├── 15.12.1.1-g2-1.js │ │ ├── 15.12.1.1-g2-2.js │ │ ├── 15.12.1.1-g2-3.js │ │ ├── 15.12.1.1-g2-4.js │ │ ├── 15.12.1.1-g2-5.js │ │ ├── 15.12.1.1-g4-1.js │ │ ├── 15.12.1.1-g4-2.js │ │ ├── 15.12.1.1-g4-3.js │ │ ├── 15.12.1.1-g4-4.js │ │ ├── 15.12.1.1-g5-1.js │ │ ├── 15.12.1.1-g5-2.js │ │ ├── 15.12.1.1-g5-3.js │ │ ├── 15.12.1.1-g6-1.js │ │ ├── 15.12.1.1-g6-2.js │ │ ├── 15.12.1.1-g6-3.js │ │ ├── 15.12.1.1-g6-4.js │ │ ├── 15.12.1.1-g6-5.js │ │ ├── 15.12.1.1-g6-6.js │ │ ├── 15.12.1.1-g6-7.js │ │ ├── 15.12.2-2-1.js │ │ ├── 15.12.2-2-10.js │ │ ├── 15.12.2-2-2.js │ │ ├── 15.12.2-2-3.js │ │ ├── 15.12.2-2-4.js │ │ ├── 15.12.2-2-5.js │ │ ├── 15.12.2-2-6.js │ │ ├── 15.12.2-2-7.js │ │ ├── 15.12.2-2-8.js │ │ ├── 15.12.2-2-9.js │ │ ├── S15.12.2_A1.js │ │ ├── duplicate-proto.js │ │ ├── invalid-whitespace.js │ │ ├── name.js │ │ ├── text-negative-zero.js │ │ ├── text-non-string-primitive.js │ │ ├── text-object-abrupt.js │ │ └── text-object.js │ ├── README.md │ ├── assert.js │ ├── propertyHelper.js │ ├── sta.js │ └── test.ts ├── media_types ├── _db.ts ├── _util.ts ├── _util_test.ts ├── all_extensions.ts ├── all_extensions_test.ts ├── content_type.ts ├── content_type_test.ts ├── deno.json ├── extension.ts ├── extension_test.ts ├── format_media_type.ts ├── format_media_type_test.ts ├── get_charset.ts ├── get_charset_test.ts ├── mod.ts ├── parse_media_type.ts ├── parse_media_type_test.ts ├── type_by_extension.ts ├── type_by_extension_test.ts └── vendor │ ├── LICENSE │ ├── db.ts │ └── update.ts ├── msgpack ├── _types.ts ├── decode.ts ├── decode_test.ts ├── deno.json ├── encode.ts ├── encode_test.ts ├── mod.ts └── testdata │ ├── 1.json │ ├── 2.json │ ├── 3.json │ ├── 4.json │ └── 5.json ├── net ├── deno.json ├── get_available_port.ts ├── get_available_port_test.ts ├── mod.ts ├── unstable_get_network_address.ts ├── unstable_get_network_address_test.ts ├── unstable_ip.ts └── unstable_ip_test.ts ├── path ├── _common │ ├── assert_path.ts │ ├── assert_path_test.ts │ ├── basename.ts │ ├── basename_test.ts │ ├── common.ts │ ├── constants.ts │ ├── dirname.ts │ ├── format.ts │ ├── format_test.ts │ ├── from_file_url.ts │ ├── glob_to_reg_exp.ts │ ├── normalize.ts │ ├── normalize_string.ts │ ├── normalize_string_test.ts │ ├── relative.ts │ ├── strip_trailing_separators.ts │ ├── to_file_url.ts │ └── to_file_url_test.ts ├── basename.ts ├── basename_test.ts ├── common.ts ├── common_test.ts ├── constants.ts ├── deno.json ├── dirname.ts ├── dirname_test.ts ├── extname.ts ├── extname_test.ts ├── format.ts ├── from_file_url.ts ├── from_file_url_test.ts ├── glob_to_regexp.ts ├── glob_to_regexp_test.ts ├── is_absolute.ts ├── is_absolute_test.ts ├── is_glob.ts ├── is_glob_test.ts ├── join.ts ├── join_globs.ts ├── join_globs_test.ts ├── join_test.ts ├── mod.ts ├── normalize.ts ├── normalize_glob.ts ├── normalize_glob_test.ts ├── normalize_test.ts ├── parse.ts ├── parse_format_test.ts ├── parse_test.ts ├── posix │ ├── _util.ts │ ├── basename.ts │ ├── common.ts │ ├── constants.ts │ ├── dirname.ts │ ├── extname.ts │ ├── format.ts │ ├── from_file_url.ts │ ├── glob_to_regexp.ts │ ├── is_absolute.ts │ ├── is_glob.ts │ ├── join.ts │ ├── join_globs.ts │ ├── mod.ts │ ├── normalize.ts │ ├── normalize_glob.ts │ ├── parse.ts │ ├── relative.ts │ ├── resolve.ts │ ├── to_file_url.ts │ └── to_namespaced_path.ts ├── relative.ts ├── relative_test.ts ├── resolve.ts ├── resolve_test.ts ├── to_file_url.ts ├── to_file_url_test.ts ├── to_namespaced_path.ts ├── to_namespaced_path_test.ts ├── types.ts └── windows │ ├── _util.ts │ ├── basename.ts │ ├── common.ts │ ├── constants.ts │ ├── dirname.ts │ ├── extname.ts │ ├── format.ts │ ├── from_file_url.ts │ ├── glob_to_regexp.ts │ ├── is_absolute.ts │ ├── is_glob.ts │ ├── join.ts │ ├── join_globs.ts │ ├── mod.ts │ ├── normalize.ts │ ├── normalize_glob.ts │ ├── parse.ts │ ├── relative.ts │ ├── resolve.ts │ ├── to_file_url.ts │ └── to_namespaced_path.ts ├── random ├── _pcg32.ts ├── _pcg32_test.ts ├── _platform.ts ├── _seed_bytes_from_uint64.ts ├── _test_utils.ts ├── _types.ts ├── between.ts ├── between_test.ts ├── deno.json ├── get_random_values_seeded.ts ├── integer_between.ts ├── integer_between_test.ts ├── mod.ts ├── next_float_64.ts ├── next_float_64_test.ts ├── sample.ts ├── sample_test.ts ├── seeded.ts ├── seeded_test.ts ├── shuffle.ts └── shuffle_test.ts ├── regexp ├── deno.json ├── escape.ts ├── escape_test.ts └── mod.ts ├── semver ├── _constants.ts ├── _shared.ts ├── _test_comparator_set.ts ├── can_parse.ts ├── can_parse_test.ts ├── compare.ts ├── compare_test.ts ├── deno.json ├── difference.ts ├── difference_test.ts ├── equals.ts ├── equals_test.ts ├── format.ts ├── format_range.ts ├── format_range_test.ts ├── format_test.ts ├── greater_or_equal.ts ├── greater_or_equal_test.ts ├── greater_than.ts ├── greater_than_range.ts ├── greater_than_range_test.ts ├── greater_than_test.ts ├── increment.ts ├── increment_test.ts ├── is_range.ts ├── is_range_test.ts ├── is_semver.ts ├── is_semver_test.ts ├── less_or_equal.ts ├── less_or_equal_test.ts ├── less_than.ts ├── less_than_range.ts ├── less_than_range_test.ts ├── less_than_test.ts ├── max_satisfying.ts ├── max_satisfying_test.ts ├── min_satisfying.ts ├── min_satisfying_test.ts ├── mod.ts ├── not_equals.ts ├── not_equals_test.ts ├── parse.ts ├── parse_range.ts ├── parse_range_test.ts ├── parse_test.ts ├── range_intersects.ts ├── range_intersects_test.ts ├── satisfies.ts ├── satisfies_test.ts ├── try_parse.ts ├── try_parse_range.ts ├── try_parse_range_test.ts ├── try_parse_test.ts └── types.ts ├── streams ├── _common.ts ├── _test_utils.ts ├── _types.ts ├── buffer.ts ├── buffer_test.ts ├── byte_slice_stream.ts ├── byte_slice_stream_test.ts ├── concat_readable_streams.ts ├── concat_readable_streams_test.ts ├── delimiter_stream.ts ├── delimiter_stream_test.ts ├── deno.json ├── early_zip_readable_streams.ts ├── early_zip_readable_streams_test.ts ├── limited_bytes_transform_stream.ts ├── limited_bytes_transform_stream_test.ts ├── limited_transform_stream.ts ├── limited_transform_stream_test.ts ├── merge_readable_streams.ts ├── merge_readable_streams_test.ts ├── mod.ts ├── text_delimiter_stream.ts ├── text_delimiter_stream_test.ts ├── text_line_stream.ts ├── text_line_stream_test.ts ├── to_array_buffer.ts ├── to_array_buffer_test.ts ├── to_blob.ts ├── to_blob_test.ts ├── to_json.ts ├── to_json_test.ts ├── to_text.ts ├── to_text_test.ts ├── to_transform_stream.ts ├── to_transform_stream_test.ts ├── unstable_abort_stream.ts ├── unstable_abort_stream_test.ts ├── unstable_fixed_chunk_stream.ts ├── unstable_fixed_chunk_stream_test.ts ├── unstable_to_byte_stream.ts ├── unstable_to_byte_stream_test.ts ├── unstable_to_bytes.ts ├── unstable_to_bytes_test.ts ├── unstable_to_lines.ts ├── unstable_to_lines_test.ts ├── zip_readable_streams.ts └── zip_readable_streams_test.ts ├── tar ├── _types.ts ├── deno.json ├── mod.ts ├── tar_stream.ts ├── tar_stream_test.ts ├── untar_stream.ts └── untar_stream_test.ts ├── testing ├── README.md ├── __snapshots__ │ ├── options_tests │ │ ├── custom_path.snap │ │ └── snapshot_test.ts.snap │ └── snapshot_test.ts.snap ├── _mock_utils.ts ├── _snapshot_utils.ts ├── _test_helpers.ts ├── _test_suite.ts ├── _test_utils.ts ├── _time.ts ├── bdd.ts ├── bdd_test.ts ├── deno.json ├── mock.ts ├── mock_test.ts ├── snapshot.ts ├── snapshot_test.ts ├── testdata │ └── configure_global_sanitizers │ │ ├── disable_sanitize_exit.ts │ │ ├── disable_sanitize_ops_and_resources.ts │ │ └── disable_sanitize_resources.ts ├── time.ts ├── time_test.ts ├── types.ts ├── types_test.ts ├── unstable_bdd.ts ├── unstable_bdd_test.ts ├── unstable_snapshot.ts ├── unstable_snapshot_test.ts ├── unstable_stub.ts ├── unstable_stub_property.ts ├── unstable_stub_property_test.ts ├── unstable_stub_test.ts ├── unstable_types.ts └── unstable_types_test.ts ├── text ├── _test_util.ts ├── _test_util_test.ts ├── _title_case_util.ts ├── _title_case_util_test.ts ├── _tools │ └── generate_title_case_data.ts ├── _util.ts ├── _util_test.ts ├── closest_string.ts ├── closest_string_test.ts ├── compare_similarity.ts ├── compare_similarity_test.ts ├── deno.json ├── levenshtein_distance.ts ├── levenshtein_distance_test.ts ├── mod.ts ├── title_case_mapping.json ├── to_camel_case.ts ├── to_camel_case_test.ts ├── to_kebab_case.ts ├── to_kebab_case_test.ts ├── to_pascal_case.ts ├── to_pascal_case_test.ts ├── to_snake_case.ts ├── to_snake_case_test.ts ├── unstable_dedent.ts ├── unstable_dedent_test.ts ├── unstable_longest_common_prefix.ts ├── unstable_longest_common_prefix_test.ts ├── unstable_reverse.ts ├── unstable_reverse_bench.ts ├── unstable_reverse_test.ts ├── unstable_slugify.ts ├── unstable_slugify_test.ts ├── unstable_to_constant_case.ts ├── unstable_to_constant_case_test.ts ├── unstable_to_sentence_case.ts ├── unstable_to_sentence_case_test.ts ├── unstable_to_title_case.ts ├── unstable_to_title_case_test.ts ├── unstable_trim_by.ts ├── unstable_trim_by_test.ts ├── word_similarity_sort.ts └── word_similarity_sort_test.ts ├── toml ├── _parser.ts ├── _parser_test.ts ├── _test_utils.ts ├── deno.json ├── mod.ts ├── official_parse_test.ts ├── parse.ts ├── parse_test.ts ├── stringify.ts ├── stringify_test.ts └── testdata │ ├── .gitattributes │ ├── README.md │ ├── files-toml-1.0.0 │ ├── files-toml-1.1.0 │ ├── invalid │ ├── array │ │ ├── array.multi │ │ ├── double-comma-01.toml │ │ ├── double-comma-02.toml │ │ ├── double-comma-1.toml │ │ ├── double-comma-2.toml │ │ ├── extend-defined-aot.toml │ │ ├── extending-table.toml │ │ ├── missing-separator-01.toml │ │ ├── missing-separator-02.toml │ │ ├── no-close-01.toml │ │ ├── no-close-02.toml │ │ ├── no-close-03.toml │ │ ├── no-close-04.toml │ │ ├── no-close-05.toml │ │ ├── no-close-06.toml │ │ ├── no-close-07.toml │ │ ├── no-close-08.toml │ │ ├── no-close-1.toml │ │ ├── no-close-2.toml │ │ ├── no-close-3.toml │ │ ├── no-close-4.toml │ │ ├── no-close-5.toml │ │ ├── no-close-6.toml │ │ ├── no-close-7.toml │ │ ├── no-close-8.toml │ │ ├── no-close-table-01.toml │ │ ├── no-close-table-02.toml │ │ ├── no-comma-01.toml │ │ ├── no-comma-02.toml │ │ ├── no-comma-03.toml │ │ ├── no-comma-1.toml │ │ ├── no-comma-2.toml │ │ ├── no-comma-3.toml │ │ ├── only-comma-01.toml │ │ ├── only-comma-02.toml │ │ ├── only-comma-1.toml │ │ ├── only-comma-2.toml │ │ ├── tables-01.toml │ │ ├── tables-02.toml │ │ ├── text-after-array-entries.toml │ │ ├── text-before-array-separator.toml │ │ └── text-in-array.toml │ ├── bool │ │ ├── almost-false-with-extra.toml │ │ ├── almost-false.toml │ │ ├── almost-true-with-extra.toml │ │ ├── almost-true.toml │ │ ├── bool.multi │ │ ├── capitalized-false.toml │ │ ├── capitalized-true.toml │ │ ├── just-f.toml │ │ ├── just-t.toml │ │ ├── mixed-case-false.toml │ │ ├── mixed-case-true.toml │ │ ├── mixed-case.toml │ │ ├── starting-same-false.toml │ │ ├── starting-same-true.toml │ │ ├── wrong-case-false.toml │ │ └── wrong-case-true.toml │ ├── control │ │ ├── bare-cr.toml │ │ ├── bare-formfeed.toml │ │ ├── bare-null.toml │ │ ├── bare-vertical-tab.toml │ │ ├── comment-cr.toml │ │ ├── comment-del.toml │ │ ├── comment-ff.toml │ │ ├── comment-lf.toml │ │ ├── comment-null.toml │ │ ├── comment-us.toml │ │ ├── control.multi │ │ ├── multi-cr.toml │ │ ├── multi-del.toml │ │ ├── multi-lf.toml │ │ ├── multi-null.toml │ │ ├── multi-us.toml │ │ ├── only-ff.toml │ │ ├── only-null.toml │ │ ├── only-vt.toml │ │ ├── rawmulti-cr.toml │ │ ├── rawmulti-del.toml │ │ ├── rawmulti-lf.toml │ │ ├── rawmulti-null.toml │ │ ├── rawmulti-us.toml │ │ ├── rawstring-cr.toml │ │ ├── rawstring-del.toml │ │ ├── rawstring-lf.toml │ │ ├── rawstring-null.toml │ │ ├── rawstring-us.toml │ │ ├── string-bs.toml │ │ ├── string-cr.toml │ │ ├── string-del.toml │ │ ├── string-lf.toml │ │ ├── string-null.toml │ │ └── string-us.toml │ ├── datetime │ │ ├── day-zero.toml │ │ ├── feb-29.toml │ │ ├── feb-30.toml │ │ ├── hour-over.toml │ │ ├── mday-over.toml │ │ ├── mday-under.toml │ │ ├── minute-over.toml │ │ ├── month-over.toml │ │ ├── month-under.toml │ │ ├── no-date-time-sep.toml │ │ ├── no-leads-month.toml │ │ ├── no-leads-with-milli.toml │ │ ├── no-leads.toml │ │ ├── no-secs.toml │ │ ├── no-t.toml │ │ ├── no-year-month-sep.toml │ │ ├── offset-minus-minute-1digit.toml │ │ ├── offset-minus-no-hour-minute-sep.toml │ │ ├── offset-minus-no-hour-minute.toml │ │ ├── offset-minus-no-minute.toml │ │ ├── offset-overflow-hour.toml │ │ ├── offset-overflow-minute.toml │ │ ├── offset-plus-minute-1digit.toml │ │ ├── offset-plus-no-hour-minute-sep.toml │ │ ├── offset-plus-no-hour-minute.toml │ │ ├── offset-plus-no-minute.toml │ │ ├── only-T.toml │ │ ├── only-TZ.toml │ │ ├── only-Tdot.toml │ │ ├── second-over.toml │ │ ├── second-trailing-dot.toml │ │ ├── second-trailing-dotz.toml │ │ ├── time-no-leads.toml │ │ ├── trailing-x.toml │ │ └── y10k.toml │ ├── encoding │ │ ├── bad-codepoint.toml │ │ ├── bad-utf8-at-end.toml │ │ ├── bad-utf8-in-array.toml │ │ ├── bad-utf8-in-comment.toml │ │ ├── bad-utf8-in-multiline-literal.toml │ │ ├── bad-utf8-in-multiline.toml │ │ ├── bad-utf8-in-string-literal.toml │ │ ├── bad-utf8-in-string.toml │ │ ├── bom-not-at-start-01.toml │ │ ├── bom-not-at-start-02.toml │ │ ├── ideographic-space.toml │ │ ├── utf16-bom.toml │ │ ├── utf16-comment.toml │ │ └── utf16-key.toml │ ├── float │ │ ├── double-dot-01.toml │ │ ├── double-dot-02.toml │ │ ├── double-point-1.toml │ │ ├── double-point-2.toml │ │ ├── exp-dot-01.toml │ │ ├── exp-dot-02.toml │ │ ├── exp-dot-03.toml │ │ ├── exp-double-e-01.toml │ │ ├── exp-double-e-02.toml │ │ ├── exp-double-e-1.toml │ │ ├── exp-double-e-2.toml │ │ ├── exp-double-us.toml │ │ ├── exp-leading-us.toml │ │ ├── exp-point-1.toml │ │ ├── exp-point-2.toml │ │ ├── exp-point-3.toml │ │ ├── exp-trailing-us-01.toml │ │ ├── exp-trailing-us-02.toml │ │ ├── exp-trailing-us-1.toml │ │ ├── exp-trailing-us-2.toml │ │ ├── exp-trailing-us.toml │ │ ├── float.multi │ │ ├── inf-capital.toml │ │ ├── inf-incomplete-01.toml │ │ ├── inf-incomplete-02.toml │ │ ├── inf-incomplete-03.toml │ │ ├── inf-incomplete-1.toml │ │ ├── inf-incomplete-2.toml │ │ ├── inf-incomplete-3.toml │ │ ├── inf_underscore.toml │ │ ├── leading-dot-neg.toml │ │ ├── leading-dot-plus.toml │ │ ├── leading-dot.toml │ │ ├── leading-point-neg.toml │ │ ├── leading-point-plus.toml │ │ ├── leading-point.toml │ │ ├── leading-us.toml │ │ ├── leading-zero-neg.toml │ │ ├── leading-zero-plus.toml │ │ ├── leading-zero.toml │ │ ├── nan-capital.toml │ │ ├── nan-incomplete-01.toml │ │ ├── nan-incomplete-02.toml │ │ ├── nan-incomplete-03.toml │ │ ├── nan-incomplete-1.toml │ │ ├── nan-incomplete-2.toml │ │ ├── nan-incomplete-3.toml │ │ ├── nan_underscore.toml │ │ ├── trailing-dot-01.toml │ │ ├── trailing-dot-02.toml │ │ ├── trailing-dot-min.toml │ │ ├── trailing-dot-plus.toml │ │ ├── trailing-exp-minus.toml │ │ ├── trailing-exp-plus.toml │ │ ├── trailing-exp-point.toml │ │ ├── trailing-exp.toml │ │ ├── trailing-point-min.toml │ │ ├── trailing-point-plus.toml │ │ ├── trailing-point.toml │ │ ├── trailing-us-exp-01.toml │ │ ├── trailing-us-exp-02.toml │ │ ├── trailing-us.toml │ │ ├── us-after-dot.toml │ │ ├── us-after-point.toml │ │ ├── us-before-dot.toml │ │ └── us-before-point.toml │ ├── inline-table │ │ ├── bad-key-syntax.toml │ │ ├── double-comma.toml │ │ ├── duplicate-key-01.toml │ │ ├── duplicate-key-02.toml │ │ ├── duplicate-key-03.toml │ │ ├── duplicate-key-04.toml │ │ ├── empty-01.toml │ │ ├── empty-02.toml │ │ ├── empty-03.toml │ │ ├── linebreak-01.toml │ │ ├── linebreak-02.toml │ │ ├── linebreak-03.toml │ │ ├── linebreak-04.toml │ │ ├── no-close-01.toml │ │ ├── no-close-02.toml │ │ ├── no-comma-01.toml │ │ ├── no-comma-02.toml │ │ ├── overwrite-01.toml │ │ ├── overwrite-02.toml │ │ ├── overwrite-03.toml │ │ ├── overwrite-04.toml │ │ ├── overwrite-05.toml │ │ ├── overwrite-06.toml │ │ ├── overwrite-07.toml │ │ ├── overwrite-08.toml │ │ ├── overwrite-09.toml │ │ ├── overwrite-10.toml │ │ └── trailing-comma.toml │ ├── integer │ │ ├── capital-bin.toml │ │ ├── capital-hex.toml │ │ ├── capital-oct.toml │ │ ├── double-sign-nex.toml │ │ ├── double-sign-plus.toml │ │ ├── double-us.toml │ │ ├── incomplete-bin.toml │ │ ├── incomplete-hex.toml │ │ ├── incomplete-oct.toml │ │ ├── integer.multi │ │ ├── invalid-bin.toml │ │ ├── invalid-hex-01.toml │ │ ├── invalid-hex-02.toml │ │ ├── invalid-hex-03.toml │ │ ├── invalid-hex-1.toml │ │ ├── invalid-hex-2.toml │ │ ├── invalid-oct.toml │ │ ├── leading-us-bin.toml │ │ ├── leading-us-hex.toml │ │ ├── leading-us-oct.toml │ │ ├── leading-us.toml │ │ ├── leading-zero-01.toml │ │ ├── leading-zero-02.toml │ │ ├── leading-zero-03.toml │ │ ├── leading-zero-1.toml │ │ ├── leading-zero-2.toml │ │ ├── leading-zero-3.toml │ │ ├── leading-zero-sign-01.toml │ │ ├── leading-zero-sign-02.toml │ │ ├── leading-zero-sign-03.toml │ │ ├── leading-zero-sign-1.toml │ │ ├── leading-zero-sign-2.toml │ │ ├── leading-zero-sign-3.toml │ │ ├── negative-bin.toml │ │ ├── negative-hex.toml │ │ ├── negative-oct.toml │ │ ├── positive-bin.toml │ │ ├── positive-hex.toml │ │ ├── positive-oct.toml │ │ ├── text-after-integer.toml │ │ ├── trailing-us-bin.toml │ │ ├── trailing-us-hex.toml │ │ ├── trailing-us-oct.toml │ │ ├── trailing-us.toml │ │ ├── us-after-bin.toml │ │ ├── us-after-hex.toml │ │ └── us-after-oct.toml │ ├── key │ │ ├── after-array.toml │ │ ├── after-table.toml │ │ ├── after-value.toml │ │ ├── bare-invalid-character-01.toml │ │ ├── bare-invalid-character-02.toml │ │ ├── dot.toml │ │ ├── dotdot.toml │ │ ├── dotted-redefine-table-01.toml │ │ ├── dotted-redefine-table-02.toml │ │ ├── duplicate-keys-01.toml │ │ ├── duplicate-keys-02.toml │ │ ├── duplicate-keys-03.toml │ │ ├── duplicate-keys-04.toml │ │ ├── duplicate-keys-05.toml │ │ ├── duplicate-keys-06.toml │ │ ├── duplicate-keys-07.toml │ │ ├── empty.toml │ │ ├── end-in-escape.toml │ │ ├── escape.toml │ │ ├── hash.toml │ │ ├── multiline-key-01.toml │ │ ├── multiline-key-02.toml │ │ ├── multiline-key-03.toml │ │ ├── multiline-key-04.toml │ │ ├── newline-01.toml │ │ ├── newline-02.toml │ │ ├── newline-03.toml │ │ ├── newline-04.toml │ │ ├── newline-05.toml │ │ ├── newline-06.toml │ │ ├── no-eol-01.toml │ │ ├── no-eol-02.toml │ │ ├── no-eol-03.toml │ │ ├── no-eol-04.toml │ │ ├── no-eol-05.toml │ │ ├── no-eol-06.toml │ │ ├── no-eol-07.toml │ │ ├── only-float.toml │ │ ├── only-int.toml │ │ ├── only-str.toml │ │ ├── open-bracket.toml │ │ ├── partial-quoted.toml │ │ ├── quoted-unclosed-01.toml │ │ ├── quoted-unclosed-02.toml │ │ ├── single-open-bracket.toml │ │ ├── space.toml │ │ ├── special-character.toml │ │ ├── start-bracket.toml │ │ ├── start-dot.toml │ │ ├── two-equals-01.toml │ │ ├── two-equals-02.toml │ │ ├── two-equals-03.toml │ │ ├── without-value-01.toml │ │ ├── without-value-02.toml │ │ ├── without-value-03.toml │ │ ├── without-value-04.toml │ │ ├── without-value-05.toml │ │ ├── without-value-06.toml │ │ └── without-value-07.toml │ ├── local-date │ │ ├── day-1digit.toml │ │ ├── feb-29.toml │ │ ├── feb-30.toml │ │ ├── mday-over.toml │ │ ├── mday-under.toml │ │ ├── month-over.toml │ │ ├── month-under.toml │ │ ├── no-leads-with-milli.toml │ │ ├── no-leads.toml │ │ ├── trailing-t.toml │ │ ├── y10k.toml │ │ └── year-3digits.toml │ ├── local-datetime │ │ ├── feb-29.toml │ │ ├── feb-30.toml │ │ ├── hour-over.toml │ │ ├── mday-over.toml │ │ ├── mday-under.toml │ │ ├── minute-over.toml │ │ ├── month-over.toml │ │ ├── month-under.toml │ │ ├── no-leads-with-milli.toml │ │ ├── no-leads.toml │ │ ├── no-secs.toml │ │ ├── no-t.toml │ │ ├── second-over.toml │ │ ├── time-no-leads.toml │ │ └── y10k.toml │ ├── local-time │ │ ├── hour-over.toml │ │ ├── minute-over.toml │ │ ├── no-secs.toml │ │ ├── second-over.toml │ │ ├── time-no-leads-01.toml │ │ ├── time-no-leads-02.toml │ │ ├── trailing-dot.toml │ │ └── trailing-dotdot.toml │ ├── spec-1.0.0 │ │ ├── inline-table-2-0.toml │ │ ├── inline-table-3-0.toml │ │ ├── key-value-pair-1.toml │ │ ├── keys-2.toml │ │ ├── string-4-0.toml │ │ ├── string-7-0.toml │ │ ├── table-9-0.toml │ │ └── table-9-1.toml │ ├── spec-1.1.0 │ │ ├── common-16-0.toml │ │ ├── common-19-0.toml │ │ ├── common-2.toml │ │ ├── common-46-0.toml │ │ ├── common-46-1.toml │ │ ├── common-49-0.toml │ │ ├── common-5.toml │ │ └── common-50-0.toml │ ├── string │ │ ├── bad-byte-escape.toml │ │ ├── bad-concat.toml │ │ ├── bad-escape-01.toml │ │ ├── bad-escape-02.toml │ │ ├── bad-escape-03.toml │ │ ├── bad-escape-04.toml │ │ ├── bad-escape-05.toml │ │ ├── bad-hex-esc-01.toml │ │ ├── bad-hex-esc-02.toml │ │ ├── bad-hex-esc-03.toml │ │ ├── bad-hex-esc-04.toml │ │ ├── bad-hex-esc-05.toml │ │ ├── bad-hex-esc-1.toml │ │ ├── bad-hex-esc-2.toml │ │ ├── bad-hex-esc-3.toml │ │ ├── bad-hex-esc-4.toml │ │ ├── bad-multiline.toml │ │ ├── bad-slash-escape.toml │ │ ├── bad-uni-esc-01.toml │ │ ├── bad-uni-esc-02.toml │ │ ├── bad-uni-esc-03.toml │ │ ├── bad-uni-esc-04.toml │ │ ├── bad-uni-esc-05.toml │ │ ├── bad-uni-esc-06.toml │ │ ├── bad-uni-esc-07.toml │ │ ├── bad-uni-esc-1.toml │ │ ├── bad-uni-esc-2.toml │ │ ├── bad-uni-esc-3.toml │ │ ├── bad-uni-esc-4.toml │ │ ├── bad-uni-esc-5.toml │ │ ├── bad-uni-esc-6.toml │ │ ├── bad-uni-esc-7.toml │ │ ├── bad-uni-esc-ml-1.toml │ │ ├── bad-uni-esc-ml-2.toml │ │ ├── bad-uni-esc-ml-3.toml │ │ ├── bad-uni-esc-ml-4.toml │ │ ├── bad-uni-esc-ml-5.toml │ │ ├── bad-uni-esc-ml-6.toml │ │ ├── bad-uni-esc-ml-7.toml │ │ ├── basic-byte-escapes.toml │ │ ├── basic-multiline-out-of-range-unicode-escape-01.toml │ │ ├── basic-multiline-out-of-range-unicode-escape-02.toml │ │ ├── basic-multiline-quotes.toml │ │ ├── basic-multiline-unknown-escape.toml │ │ ├── basic-out-of-range-unicode-escape-01.toml │ │ ├── basic-out-of-range-unicode-escape-02.toml │ │ ├── basic-unknown-escape.toml │ │ ├── literal-multiline-quotes-01.toml │ │ ├── literal-multiline-quotes-02.toml │ │ ├── missing-quotes-array.toml │ │ ├── missing-quotes-inline-table.toml │ │ ├── missing-quotes.toml │ │ ├── multiline-bad-escape-01.toml │ │ ├── multiline-bad-escape-02.toml │ │ ├── multiline-bad-escape-03.toml │ │ ├── multiline-bad-escape-04.toml │ │ ├── multiline-escape-space-01.toml │ │ ├── multiline-escape-space-02.toml │ │ ├── multiline-lit-no-close-01.toml │ │ ├── multiline-lit-no-close-02.toml │ │ ├── multiline-lit-no-close-03.toml │ │ ├── multiline-lit-no-close-04.toml │ │ ├── multiline-no-close-01.toml │ │ ├── multiline-no-close-02.toml │ │ ├── multiline-no-close-03.toml │ │ ├── multiline-no-close-04.toml │ │ ├── multiline-no-close-05.toml │ │ ├── multiline-quotes-01.toml │ │ ├── no-close-01.toml │ │ ├── no-close-02.toml │ │ ├── no-close-03.toml │ │ ├── no-close-04.toml │ │ ├── no-close-05.toml │ │ ├── no-close-06.toml │ │ ├── no-close-07.toml │ │ ├── no-close-08.toml │ │ ├── no-close-09.toml │ │ ├── no-close-10.toml │ │ ├── no-open-01.toml │ │ ├── no-open-02.toml │ │ ├── no-open-03.toml │ │ ├── no-open-04.toml │ │ ├── no-open-05.toml │ │ ├── no-open-06.toml │ │ ├── no-open-07.toml │ │ ├── no-open-08.toml │ │ ├── string.multi │ │ ├── text-after-string.toml │ │ └── wrong-close.toml │ └── table │ │ ├── append-with-dotted-keys-01.toml │ │ ├── append-with-dotted-keys-02.toml │ │ ├── append-with-dotted-keys-03.toml │ │ ├── append-with-dotted-keys-04.toml │ │ ├── append-with-dotted-keys-05.toml │ │ ├── append-with-dotted-keys-06.toml │ │ ├── append-with-dotted-keys-07.toml │ │ ├── array-empty.toml │ │ ├── array-implicit.toml │ │ ├── array-no-close-01.toml │ │ ├── array-no-close-02.toml │ │ ├── array-no-close-03.toml │ │ ├── array-no-close-04.toml │ │ ├── bare-invalid-character-01.toml │ │ ├── bare-invalid-character-02.toml │ │ ├── dot.toml │ │ ├── dotdot.toml │ │ ├── duplicate-key-01.toml │ │ ├── duplicate-key-02.toml │ │ ├── duplicate-key-03.toml │ │ ├── duplicate-key-04.toml │ │ ├── duplicate-key-05.toml │ │ ├── duplicate-key-06.toml │ │ ├── duplicate-key-07.toml │ │ ├── duplicate-key-08.toml │ │ ├── duplicate-key-09.toml │ │ ├── duplicate-key-10.toml │ │ ├── empty-implicit-table.toml │ │ ├── empty.toml │ │ ├── equals-sign.toml │ │ ├── llbrace.toml │ │ ├── multiline-key-01.toml │ │ ├── multiline-key-02.toml │ │ ├── nested-brackets-close.toml │ │ ├── nested-brackets-open.toml │ │ ├── newline-01.toml │ │ ├── newline-02.toml │ │ ├── newline-03.toml │ │ ├── newline-04.toml │ │ ├── newline-05.toml │ │ ├── no-close-01.toml │ │ ├── no-close-02.toml │ │ ├── no-close-03.toml │ │ ├── no-close-04.toml │ │ ├── no-close-05.toml │ │ ├── no-close-06.toml │ │ ├── no-close-07.toml │ │ ├── no-close-08.toml │ │ ├── no-close-09.toml │ │ ├── overwrite-array-in-parent.toml │ │ ├── overwrite-bool-with-array.toml │ │ ├── overwrite-with-deep-table.toml │ │ ├── redefine-01.toml │ │ ├── redefine-02.toml │ │ ├── redefine-03.toml │ │ ├── rrbrace.toml │ │ ├── super-twice.toml │ │ ├── text-after-table.toml │ │ ├── trailing-dot.toml │ │ ├── whitespace.toml │ │ └── with-pound.toml │ └── valid │ ├── array │ ├── array-subtables.json │ ├── array-subtables.toml │ ├── array.json │ ├── array.toml │ ├── bool.json │ ├── bool.toml │ ├── empty.json │ ├── empty.toml │ ├── hetergeneous.json │ ├── hetergeneous.toml │ ├── mixed-int-array.json │ ├── mixed-int-array.toml │ ├── mixed-int-float.json │ ├── mixed-int-float.toml │ ├── mixed-int-string.json │ ├── mixed-int-string.toml │ ├── mixed-string-table.json │ ├── mixed-string-table.toml │ ├── nested-double.json │ ├── nested-double.toml │ ├── nested-inline-table.json │ ├── nested-inline-table.toml │ ├── nested.json │ ├── nested.toml │ ├── nospaces.json │ ├── nospaces.toml │ ├── open-parent-table.json │ ├── open-parent-table.toml │ ├── string-quote-comma-2.json │ ├── string-quote-comma-2.toml │ ├── string-quote-comma.json │ ├── string-quote-comma.toml │ ├── string-with-comma-2.json │ ├── string-with-comma-2.toml │ ├── string-with-comma.json │ ├── string-with-comma.toml │ ├── strings.json │ ├── strings.toml │ ├── table-array-string-backslash.json │ ├── table-array-string-backslash.toml │ ├── trailing-comma.json │ └── trailing-comma.toml │ ├── bool │ ├── bool.json │ └── bool.toml │ ├── comment │ ├── after-literal-no-ws.json │ ├── after-literal-no-ws.toml │ ├── at-eof.json │ ├── at-eof.toml │ ├── at-eof2.json │ ├── at-eof2.toml │ ├── everywhere.json │ ├── everywhere.toml │ ├── noeol.json │ ├── noeol.toml │ ├── nonascii.json │ ├── nonascii.toml │ ├── tricky.json │ └── tricky.toml │ ├── datetime │ ├── datetime.json │ ├── datetime.toml │ ├── edge.json │ ├── edge.toml │ ├── invalid-date-in-string.json │ ├── invalid-date-in-string.toml │ ├── leap-year.json │ ├── leap-year.toml │ ├── local-date.json │ ├── local-date.toml │ ├── local-time.json │ ├── local-time.toml │ ├── local.json │ ├── local.toml │ ├── milliseconds.json │ ├── milliseconds.toml │ ├── no-seconds.json │ ├── no-seconds.toml │ ├── timezone.json │ └── timezone.toml │ ├── empty-crlf.json │ ├── empty-crlf.toml │ ├── empty-lf.json │ ├── empty-lf.toml │ ├── empty-nothing.json │ ├── empty-nothing.toml │ ├── empty-space.json │ ├── empty-space.toml │ ├── empty-tab.json │ ├── empty-tab.toml │ ├── example.json │ ├── example.toml │ ├── float │ ├── exponent.json │ ├── exponent.toml │ ├── float.json │ ├── float.toml │ ├── inf-and-nan.json │ ├── inf-and-nan.toml │ ├── long.json │ ├── long.toml │ ├── max-int.json │ ├── max-int.toml │ ├── underscore.json │ ├── underscore.toml │ ├── zero.json │ └── zero.toml │ ├── implicit-and-explicit-after.json │ ├── implicit-and-explicit-after.toml │ ├── implicit-and-explicit-before.json │ ├── implicit-and-explicit-before.toml │ ├── implicit-groups.json │ ├── implicit-groups.toml │ ├── inline-table │ ├── array-01.json │ ├── array-01.toml │ ├── array-02.json │ ├── array-02.toml │ ├── array-03.json │ ├── array-03.toml │ ├── bool.json │ ├── bool.toml │ ├── empty.json │ ├── empty.toml │ ├── end-in-bool.json │ ├── end-in-bool.toml │ ├── inline-table.json │ ├── inline-table.toml │ ├── key-dotted-1.json │ ├── key-dotted-1.toml │ ├── key-dotted-2.json │ ├── key-dotted-2.toml │ ├── key-dotted-3.json │ ├── key-dotted-3.toml │ ├── key-dotted-4.json │ ├── key-dotted-4.toml │ ├── key-dotted-5.json │ ├── key-dotted-5.toml │ ├── key-dotted-6.json │ ├── key-dotted-6.toml │ ├── key-dotted-7.json │ ├── key-dotted-7.toml │ ├── multiline.json │ ├── multiline.toml │ ├── nest.json │ ├── nest.toml │ ├── newline-comment.json │ ├── newline-comment.toml │ ├── newline.json │ ├── newline.toml │ ├── spaces.json │ └── spaces.toml │ ├── integer │ ├── float64-max.json │ ├── float64-max.toml │ ├── integer.json │ ├── integer.toml │ ├── literals.json │ ├── literals.toml │ ├── long.json │ ├── long.toml │ ├── underscore.json │ ├── underscore.toml │ ├── zero.json │ └── zero.toml │ ├── key │ ├── alphanum.json │ ├── alphanum.toml │ ├── case-sensitive.json │ ├── case-sensitive.toml │ ├── dotted-1.json │ ├── dotted-1.toml │ ├── dotted-2.json │ ├── dotted-2.toml │ ├── dotted-3.json │ ├── dotted-3.toml │ ├── dotted-4.json │ ├── dotted-4.toml │ ├── dotted-empty.json │ ├── dotted-empty.toml │ ├── empty-1.json │ ├── empty-1.toml │ ├── empty-2.json │ ├── empty-2.toml │ ├── empty-3.json │ ├── empty-3.toml │ ├── equals-nospace.json │ ├── equals-nospace.toml │ ├── escapes.json │ ├── escapes.toml │ ├── like-date.json │ ├── like-date.toml │ ├── numeric-01.json │ ├── numeric-01.toml │ ├── numeric-02.json │ ├── numeric-02.toml │ ├── numeric-03.json │ ├── numeric-03.toml │ ├── numeric-04.json │ ├── numeric-04.toml │ ├── numeric-05.json │ ├── numeric-05.toml │ ├── numeric-06.json │ ├── numeric-06.toml │ ├── numeric-07.json │ ├── numeric-07.toml │ ├── numeric-08.json │ ├── numeric-08.toml │ ├── numeric.multi │ ├── quoted-dots.json │ ├── quoted-dots.toml │ ├── quoted-unicode.json │ ├── quoted-unicode.toml │ ├── space.json │ ├── space.toml │ ├── special-chars.json │ ├── special-chars.toml │ ├── special-word.json │ ├── special-word.toml │ ├── start.json │ ├── start.toml │ ├── zero.json │ └── zero.toml │ ├── multibyte.json │ ├── multibyte.toml │ ├── newline-crlf.json │ ├── newline-crlf.toml │ ├── newline-lf.json │ ├── newline-lf.toml │ ├── spec-1.0.0 │ ├── array-0.json │ ├── array-0.toml │ ├── array-1.json │ ├── array-1.toml │ ├── array-of-tables-0.json │ ├── array-of-tables-0.toml │ ├── array-of-tables-1.json │ ├── array-of-tables-1.toml │ ├── array-of-tables-2.json │ ├── array-of-tables-2.toml │ ├── boolean-0.json │ ├── boolean-0.toml │ ├── comment-0.json │ ├── comment-0.toml │ ├── float-0.json │ ├── float-0.toml │ ├── float-1.json │ ├── float-1.toml │ ├── float-2.json │ ├── float-2.toml │ ├── inline-table-0.json │ ├── inline-table-0.toml │ ├── inline-table-1.json │ ├── inline-table-1.toml │ ├── inline-table-2.json │ ├── inline-table-2.toml │ ├── inline-table-3.json │ ├── inline-table-3.toml │ ├── integer-0.json │ ├── integer-0.toml │ ├── integer-1.json │ ├── integer-1.toml │ ├── integer-2.json │ ├── integer-2.toml │ ├── key-value-pair-0.json │ ├── key-value-pair-0.toml │ ├── keys-0.json │ ├── keys-0.toml │ ├── keys-1.json │ ├── keys-1.toml │ ├── keys-3.json │ ├── keys-3.toml │ ├── keys-4.json │ ├── keys-4.toml │ ├── keys-5.json │ ├── keys-5.toml │ ├── keys-6.json │ ├── keys-6.toml │ ├── keys-7.json │ ├── keys-7.toml │ ├── local-date-0.json │ ├── local-date-0.toml │ ├── local-date-time-0.json │ ├── local-date-time-0.toml │ ├── local-time-0.json │ ├── local-time-0.toml │ ├── offset-date-time-0.json │ ├── offset-date-time-0.toml │ ├── offset-date-time-1.json │ ├── offset-date-time-1.toml │ ├── string-0.json │ ├── string-0.toml │ ├── string-1.json │ ├── string-1.toml │ ├── string-2.json │ ├── string-2.toml │ ├── string-3.json │ ├── string-3.toml │ ├── string-4.json │ ├── string-4.toml │ ├── string-5.json │ ├── string-5.toml │ ├── string-6.json │ ├── string-6.toml │ ├── string-7.json │ ├── string-7.toml │ ├── table-0.json │ ├── table-0.toml │ ├── table-1.json │ ├── table-1.toml │ ├── table-2.json │ ├── table-2.toml │ ├── table-3.json │ ├── table-3.toml │ ├── table-4.json │ ├── table-4.toml │ ├── table-5.json │ ├── table-5.toml │ ├── table-6.json │ ├── table-6.toml │ ├── table-7.json │ ├── table-7.toml │ ├── table-8.json │ ├── table-8.toml │ ├── table-9.json │ └── table-9.toml │ ├── spec-1.1.0 │ ├── common-0.json │ ├── common-0.toml │ ├── common-1.json │ ├── common-1.toml │ ├── common-10.json │ ├── common-10.toml │ ├── common-11.json │ ├── common-11.toml │ ├── common-12.json │ ├── common-12.toml │ ├── common-13.json │ ├── common-13.toml │ ├── common-14.json │ ├── common-14.toml │ ├── common-15.json │ ├── common-15.toml │ ├── common-16.json │ ├── common-16.toml │ ├── common-17.json │ ├── common-17.toml │ ├── common-18.json │ ├── common-18.toml │ ├── common-19.json │ ├── common-19.toml │ ├── common-20.json │ ├── common-20.toml │ ├── common-21.json │ ├── common-21.toml │ ├── common-22.json │ ├── common-22.toml │ ├── common-23.json │ ├── common-23.toml │ ├── common-24.json │ ├── common-24.toml │ ├── common-25.json │ ├── common-25.toml │ ├── common-26.json │ ├── common-26.toml │ ├── common-27.json │ ├── common-27.toml │ ├── common-28.json │ ├── common-28.toml │ ├── common-29.json │ ├── common-29.toml │ ├── common-3.json │ ├── common-3.toml │ ├── common-30.json │ ├── common-30.toml │ ├── common-31.json │ ├── common-31.toml │ ├── common-32.json │ ├── common-32.toml │ ├── common-33.json │ ├── common-33.toml │ ├── common-34.json │ ├── common-34.toml │ ├── common-35.json │ ├── common-35.toml │ ├── common-36.json │ ├── common-36.toml │ ├── common-37.json │ ├── common-37.toml │ ├── common-38.json │ ├── common-38.toml │ ├── common-39.json │ ├── common-39.toml │ ├── common-4.json │ ├── common-4.toml │ ├── common-40.json │ ├── common-40.toml │ ├── common-41.json │ ├── common-41.toml │ ├── common-42.json │ ├── common-42.toml │ ├── common-43.json │ ├── common-43.toml │ ├── common-44.json │ ├── common-44.toml │ ├── common-45.json │ ├── common-45.toml │ ├── common-46.json │ ├── common-46.toml │ ├── common-47.json │ ├── common-47.toml │ ├── common-48.json │ ├── common-48.toml │ ├── common-49.json │ ├── common-49.toml │ ├── common-50.json │ ├── common-50.toml │ ├── common-51.json │ ├── common-51.toml │ ├── common-52.json │ ├── common-52.toml │ ├── common-53.json │ ├── common-53.toml │ ├── common-6.json │ ├── common-6.toml │ ├── common-7.json │ ├── common-7.toml │ ├── common-8.json │ ├── common-8.toml │ ├── common-9.json │ └── common-9.toml │ ├── spec-example-1-compact.json │ ├── spec-example-1-compact.toml │ ├── spec-example-1.json │ ├── spec-example-1.toml │ ├── string │ ├── basic-escape-01.json │ ├── basic-escape-01.toml │ ├── basic-escape-02.json │ ├── basic-escape-02.toml │ ├── basic-escape-03.json │ ├── basic-escape-03.toml │ ├── empty.json │ ├── empty.toml │ ├── ends-in-whitespace-escape.json │ ├── ends-in-whitespace-escape.toml │ ├── escape-esc.json │ ├── escape-esc.toml │ ├── escape-tricky.json │ ├── escape-tricky.toml │ ├── escaped-escape.json │ ├── escaped-escape.toml │ ├── escapes.json │ ├── escapes.toml │ ├── hex-escape.json │ ├── hex-escape.toml │ ├── multibyte-escape.json │ ├── multibyte-escape.toml │ ├── multibyte.json │ ├── multibyte.toml │ ├── multiline-empty.json │ ├── multiline-empty.toml │ ├── multiline-escaped-crlf.json │ ├── multiline-escaped-crlf.toml │ ├── multiline-quotes.json │ ├── multiline-quotes.toml │ ├── multiline.json │ ├── multiline.toml │ ├── nl.json │ ├── nl.toml │ ├── quoted-unicode.json │ ├── quoted-unicode.toml │ ├── raw-empty.json │ ├── raw-empty.toml │ ├── raw-multiline.json │ ├── raw-multiline.toml │ ├── raw.json │ ├── raw.toml │ ├── simple.json │ ├── simple.toml │ ├── start-mb.json │ ├── start-mb.toml │ ├── unicode-escape.json │ ├── unicode-escape.toml │ ├── with-pound.json │ └── with-pound.toml │ └── table │ ├── array-empty-name.json │ ├── array-empty-name.toml │ ├── array-empty.json │ ├── array-empty.toml │ ├── array-implicit-and-explicit-after.json │ ├── array-implicit-and-explicit-after.toml │ ├── array-implicit.json │ ├── array-implicit.toml │ ├── array-many.json │ ├── array-many.toml │ ├── array-nest.json │ ├── array-nest.toml │ ├── array-one.json │ ├── array-one.toml │ ├── array-table-array.json │ ├── array-table-array.toml │ ├── array-within-dotted.json │ ├── array-within-dotted.toml │ ├── empty-name.json │ ├── empty-name.toml │ ├── empty.json │ ├── empty.toml │ ├── keyword-with-values.json │ ├── keyword-with-values.toml │ ├── keyword.json │ ├── keyword.toml │ ├── names-with-values.json │ ├── names-with-values.toml │ ├── names.json │ ├── names.toml │ ├── no-eol.json │ ├── no-eol.toml │ ├── sub-empty.json │ ├── sub-empty.toml │ ├── sub.json │ ├── sub.toml │ ├── whitespace.json │ ├── whitespace.toml │ ├── with-literal-string.json │ ├── with-literal-string.toml │ ├── with-pound.json │ ├── with-pound.toml │ ├── with-single-quotes.json │ ├── with-single-quotes.toml │ ├── without-super-with-values.json │ ├── without-super-with-values.toml │ ├── without-super.json │ └── without-super.toml ├── ulid ├── _util.ts ├── decode_time.ts ├── deno.json ├── mod.ts ├── monotonic_ulid.ts ├── test.ts └── ulid.ts ├── uuid ├── _common.ts ├── common.ts ├── common_test.ts ├── constants.ts ├── constants_test.ts ├── deno.json ├── mod.ts ├── unstable_v6.ts ├── unstable_v6_test.ts ├── unstable_v7.ts ├── unstable_v7_test.ts ├── v1.ts ├── v1_test.ts ├── v3.ts ├── v3_test.ts ├── v4.ts ├── v4_test.ts ├── v5.ts └── v5_test.ts ├── webgpu ├── _test_utils.ts ├── _types.ts ├── create_capture.ts ├── create_capture_test.ts ├── deno.json ├── describe_texture_format.ts ├── describe_texture_format_test.ts ├── mod.ts ├── row_padding.ts ├── row_padding_test.ts ├── texture_with_data.ts └── texture_with_data_test.ts └── yaml ├── _chars.ts ├── _dumper_state.ts ├── _loader_state.ts ├── _schema.ts ├── _type.ts ├── _type ├── binary.ts ├── bool.ts ├── float.ts ├── int.ts ├── map.ts ├── merge.ts ├── nil.ts ├── omap.ts ├── pairs.ts ├── regexp.ts ├── seq.ts ├── set.ts ├── str.ts ├── timestamp.ts └── undefined.ts ├── _utils.ts ├── deno.json ├── mod.ts ├── parse.ts ├── parse_test.ts ├── stringify.ts ├── stringify_test.ts ├── unstable_parse.ts └── unstable_stringify.ts /.gitattributes: -------------------------------------------------------------------------------- 1 | # Use Unix line endings in all text files. 2 | * text=auto eol=lf 3 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @kt3k 2 | /streams @kt3k @crowlKats 3 | /webgpu @kt3k @crowlKats 4 | -------------------------------------------------------------------------------- /_tmp/.keep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/std/8efb698cab8f2a1cb4f95c3dfa992067c2d69ed3/_tmp/.keep -------------------------------------------------------------------------------- /_tools/node_test_runner/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | package-lock.json 3 | bun.lock 4 | -------------------------------------------------------------------------------- /crypto/_wasm/.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | target = "wasm32-unknown-unknown" 3 | -------------------------------------------------------------------------------- /crypto/_wasm/rust-toolchain.toml: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "1.85.0" 3 | targets = ["wasm32-unknown-unknown", "rustfmt"] 4 | -------------------------------------------------------------------------------- /csv/testdata/simple.csv: -------------------------------------------------------------------------------- 1 | id,name 2 | 1,foobar 3 | 2,barbaz -------------------------------------------------------------------------------- /dotenv/testdata/.env: -------------------------------------------------------------------------------- 1 | GREETING=hello world -------------------------------------------------------------------------------- /dotenv/testdata/.env.multiple: -------------------------------------------------------------------------------- 1 | GREETING=hello world 2 | DO_NOT_OVERRIDE=overridden -------------------------------------------------------------------------------- /dotenv/testdata/.env.single.expand: -------------------------------------------------------------------------------- 1 | EXPECT_EMPTY=${EMPTY} -------------------------------------------------------------------------------- /fs/testdata/0-link: -------------------------------------------------------------------------------- 1 | 0.ts -------------------------------------------------------------------------------- /fs/testdata/0.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/std/8efb698cab8f2a1cb4f95c3dfa992067c2d69ed3/fs/testdata/0.ts -------------------------------------------------------------------------------- /fs/testdata/copy_dir/0.txt: -------------------------------------------------------------------------------- 1 | text -------------------------------------------------------------------------------- /fs/testdata/copy_dir/nest/0.txt: -------------------------------------------------------------------------------- 1 | nest -------------------------------------------------------------------------------- /fs/testdata/copy_dir_link_file/0.txt: -------------------------------------------------------------------------------- 1 | ./fs/testdata/copy_dir/0.txt -------------------------------------------------------------------------------- /fs/testdata/copy_file.txt: -------------------------------------------------------------------------------- 1 | txt -------------------------------------------------------------------------------- /fs/testdata/copy_file_bom.txt: -------------------------------------------------------------------------------- 1 | hello -------------------------------------------------------------------------------- /fs/testdata/ensure_dir/f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/std/8efb698cab8f2a1cb4f95c3dfa992067c2d69ed3/fs/testdata/ensure_dir/f -------------------------------------------------------------------------------- /fs/testdata/ensure_dir/ldir: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /fs/testdata/ensure_dir/lf: -------------------------------------------------------------------------------- 1 | f -------------------------------------------------------------------------------- /fs/testdata/glob/abc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/std/8efb698cab8f2a1cb4f95c3dfa992067c2d69ed3/fs/testdata/glob/abc -------------------------------------------------------------------------------- /fs/testdata/glob/abcdef: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/std/8efb698cab8f2a1cb4f95c3dfa992067c2d69ed3/fs/testdata/glob/abcdef -------------------------------------------------------------------------------- /fs/testdata/glob/link: -------------------------------------------------------------------------------- 1 | ./subdir -------------------------------------------------------------------------------- /fs/testdata/walk/match/x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/std/8efb698cab8f2a1cb4f95c3dfa992067c2d69ed3/fs/testdata/walk/match/x -------------------------------------------------------------------------------- /fs/testdata/walk/match/y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/std/8efb698cab8f2a1cb4f95c3dfa992067c2d69ed3/fs/testdata/walk/match/y -------------------------------------------------------------------------------- /fs/testdata/walk/match/z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/std/8efb698cab8f2a1cb4f95c3dfa992067c2d69ed3/fs/testdata/walk/match/z -------------------------------------------------------------------------------- /fs/testdata/walk/symlink/b: -------------------------------------------------------------------------------- 1 | a -------------------------------------------------------------------------------- /fs/testdata/walk/symlink/y: -------------------------------------------------------------------------------- 1 | x -------------------------------------------------------------------------------- /http/testdata/.dotfile: -------------------------------------------------------------------------------- 1 | dotfile -------------------------------------------------------------------------------- /http/testdata/subdir-with-index/index.html: -------------------------------------------------------------------------------- 1 | This is subdir-with-index/index.html 2 | -------------------------------------------------------------------------------- /json/testdata/test.json-seq: -------------------------------------------------------------------------------- 1 | {"hello": "world"} 2 | ["👋", "👋", "👋"] 3 | {"deno": "🦕"} 4 | -------------------------------------------------------------------------------- /json/testdata/test.jsonl: -------------------------------------------------------------------------------- 1 | {"hello": "world"} 2 | ["👋", "👋", "👋"] 3 | {"deno": "🦕"} 4 | -------------------------------------------------------------------------------- /json/testdata/test.ndjson: -------------------------------------------------------------------------------- 1 | {"hello": "world"} 2 | ["👋", "👋", "👋"] 3 | {"deno": "🦕"} 4 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_number_double_huge_neg_exp.json: -------------------------------------------------------------------------------- 1 | [123.456e-789] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_number_neg_int_huge_exp.json: -------------------------------------------------------------------------------- 1 | [-1e+9999] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_number_pos_double_huge_exp.json: -------------------------------------------------------------------------------- 1 | [1.5e+9999] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_number_real_neg_overflow.json: -------------------------------------------------------------------------------- 1 | [-123123e100000] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_number_real_pos_overflow.json: -------------------------------------------------------------------------------- 1 | [123123e100000] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_number_real_underflow.json: -------------------------------------------------------------------------------- 1 | [123e-10000000] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_number_too_big_neg_int.json: -------------------------------------------------------------------------------- 1 | [-123123123123123123123123123123] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_number_too_big_pos_int.json: -------------------------------------------------------------------------------- 1 | [100000000000000000000] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_number_very_big_negative_int.json: -------------------------------------------------------------------------------- 1 | [-237462374673276894279832749832423479823246327846] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_object_key_lone_2nd_surrogate.json: -------------------------------------------------------------------------------- 1 | {"\uDFAA":0} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_string_1st_surrogate_but_2nd_missing.json: -------------------------------------------------------------------------------- 1 | ["\uDADA"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_string_1st_valid_surrogate_2nd_invalid.json: -------------------------------------------------------------------------------- 1 | ["\uD888\u1234"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_string_UTF-16LE_with_BOM.json: -------------------------------------------------------------------------------- 1 | ["é"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_string_incomplete_surrogate_and_escape_valid.json: -------------------------------------------------------------------------------- 1 | ["\uD800\n"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_string_incomplete_surrogate_pair.json: -------------------------------------------------------------------------------- 1 | ["\uDd1ea"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_string_incomplete_surrogates_escape_valid.json: -------------------------------------------------------------------------------- 1 | ["\uD800\uD800\n"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_string_invalid_lonely_surrogate.json: -------------------------------------------------------------------------------- 1 | ["\ud800"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_string_invalid_surrogate.json: -------------------------------------------------------------------------------- 1 | ["\ud800abc"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_string_inverted_surrogates_U+1D11E.json: -------------------------------------------------------------------------------- 1 | ["\uDd1e\uD834"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_string_lone_second_surrogate.json: -------------------------------------------------------------------------------- 1 | ["\uDFAA"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/i_structure_UTF-8_BOM_empty_object.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_1_true_without_comma.json: -------------------------------------------------------------------------------- 1 | [1, true] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_colon_instead_of_comma.json: -------------------------------------------------------------------------------- 1 | ["": 1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_comma_after_close.json: -------------------------------------------------------------------------------- 1 | [""], -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_comma_and_number.json: -------------------------------------------------------------------------------- 1 | [,1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_double_comma.json: -------------------------------------------------------------------------------- 1 | [1,,2] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_double_extra_comma.json: -------------------------------------------------------------------------------- 1 | ["x",,] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_extra_close.json: -------------------------------------------------------------------------------- 1 | ["x"]] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_extra_comma.json: -------------------------------------------------------------------------------- 1 | [""] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_incomplete.json: -------------------------------------------------------------------------------- 1 | ["x" -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_incomplete_invalid_value.json: -------------------------------------------------------------------------------- 1 | [x -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_inner_array_no_comma.json: -------------------------------------------------------------------------------- 1 | [3[4]] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_items_separated_by_semicolon.json: -------------------------------------------------------------------------------- 1 | [1:2] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_just_comma.json: -------------------------------------------------------------------------------- 1 | [,] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_just_minus.json: -------------------------------------------------------------------------------- 1 | [-] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_missing_value.json: -------------------------------------------------------------------------------- 1 | [ , ""] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_newlines_unclosed.json: -------------------------------------------------------------------------------- 1 | ["a", 2 | 4 3 | ,1, -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_number_and_comma.json: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_number_and_several_commas.json: -------------------------------------------------------------------------------- 1 | [1,,] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_spaces_vertical_tab_formfeed.json: -------------------------------------------------------------------------------- 1 | [" a"\f] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_star_inside.json: -------------------------------------------------------------------------------- 1 | [*] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_unclosed.json: -------------------------------------------------------------------------------- 1 | ["" -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_unclosed_trailing_comma.json: -------------------------------------------------------------------------------- 1 | [1, -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_unclosed_with_new_lines.json: -------------------------------------------------------------------------------- 1 | [1, 2 | 1 3 | ,1 -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_array_unclosed_with_object_inside.json: -------------------------------------------------------------------------------- 1 | [{} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_incomplete_false.json: -------------------------------------------------------------------------------- 1 | [fals] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_incomplete_null.json: -------------------------------------------------------------------------------- 1 | [nul] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_incomplete_true.json: -------------------------------------------------------------------------------- 1 | [tru] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_multidigit_number_then_00.json: -------------------------------------------------------------------------------- 1 | 123 -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_++.json: -------------------------------------------------------------------------------- 1 | [++1234] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_+1.json: -------------------------------------------------------------------------------- 1 | [+1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_+Inf.json: -------------------------------------------------------------------------------- 1 | [+Inf] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_-01.json: -------------------------------------------------------------------------------- 1 | [-0, 1] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_-1.0..json: -------------------------------------------------------------------------------- 1 | [-1.0.] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_-2..json: -------------------------------------------------------------------------------- 1 | [-2.] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_-NaN.json: -------------------------------------------------------------------------------- 1 | [-NaN] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_.-1.json: -------------------------------------------------------------------------------- 1 | [.-1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_.2e-3.json: -------------------------------------------------------------------------------- 1 | [.2e-3] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_0.1.2.json: -------------------------------------------------------------------------------- 1 | [0.1.2] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_0.3e+.json: -------------------------------------------------------------------------------- 1 | [0.3e+] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_0.3e.json: -------------------------------------------------------------------------------- 1 | [0.3e] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_0.e1.json: -------------------------------------------------------------------------------- 1 | [0.e1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_0_capital_E+.json: -------------------------------------------------------------------------------- 1 | [0E+] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_0_capital_E.json: -------------------------------------------------------------------------------- 1 | [0E] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_0e+.json: -------------------------------------------------------------------------------- 1 | [0e+] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_0e.json: -------------------------------------------------------------------------------- 1 | [0e] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_1.0e+.json: -------------------------------------------------------------------------------- 1 | [1.0e+] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_1.0e-.json: -------------------------------------------------------------------------------- 1 | [1.0e-] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_1.0e.json: -------------------------------------------------------------------------------- 1 | [1.0e] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_1_000.json: -------------------------------------------------------------------------------- 1 | [1 000.0] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_1eE2.json: -------------------------------------------------------------------------------- 1 | [1eE2] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_2.e+3.json: -------------------------------------------------------------------------------- 1 | [2.e+3] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_2.e-3.json: -------------------------------------------------------------------------------- 1 | [2.e-3] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_2.e3.json: -------------------------------------------------------------------------------- 1 | [2.e3] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_9.e+.json: -------------------------------------------------------------------------------- 1 | [9.e+] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_Inf.json: -------------------------------------------------------------------------------- 1 | [Inf] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_NaN.json: -------------------------------------------------------------------------------- 1 | [NaN] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_U+FF11_fullwidth_digit_one.json: -------------------------------------------------------------------------------- 1 | [1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_expression.json: -------------------------------------------------------------------------------- 1 | [1+2] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_hex_1_digit.json: -------------------------------------------------------------------------------- 1 | [0x1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_hex_2_digits.json: -------------------------------------------------------------------------------- 1 | [0x42] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_infinity.json: -------------------------------------------------------------------------------- 1 | [Infinity] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_invalid+-.json: -------------------------------------------------------------------------------- 1 | [0e+-1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_invalid-negative-real.json: -------------------------------------------------------------------------------- 1 | [-123.123foo] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_minus_infinity.json: -------------------------------------------------------------------------------- 1 | [-Infinity] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_minus_sign_with_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | [-foo] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_minus_space_1.json: -------------------------------------------------------------------------------- 1 | [- 1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_neg_int_starting_with_zero.json: -------------------------------------------------------------------------------- 1 | [-0, 12] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_neg_real_without_int_part.json: -------------------------------------------------------------------------------- 1 | [-.123] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_neg_with_garbage_at_end.json: -------------------------------------------------------------------------------- 1 | [-1x] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_real_garbage_after_e.json: -------------------------------------------------------------------------------- 1 | [1ea] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_real_without_fractional_part.json: -------------------------------------------------------------------------------- 1 | [1.] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_starting_with_dot.json: -------------------------------------------------------------------------------- 1 | [.123] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_with_alpha.json: -------------------------------------------------------------------------------- 1 | [1.2a-3] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_with_alpha_char.json: -------------------------------------------------------------------------------- 1 | [1.8011670033376514H-308] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_number_with_leading_zero.json: -------------------------------------------------------------------------------- 1 | [0, 12] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_bad_value.json: -------------------------------------------------------------------------------- 1 | ["x", truth] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_bracket_key.json: -------------------------------------------------------------------------------- 1 | {[: "x"} 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_comma_instead_of_colon.json: -------------------------------------------------------------------------------- 1 | {"x", null} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_double_colon.json: -------------------------------------------------------------------------------- 1 | {"x"::"b"} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_emoji.json: -------------------------------------------------------------------------------- 1 | {🇨🇭} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_garbage_at_end.json: -------------------------------------------------------------------------------- 1 | {"a":"a" 123} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_key_with_single_quotes.json: -------------------------------------------------------------------------------- 1 | { "key": "value" } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_missing_colon.json: -------------------------------------------------------------------------------- 1 | {"a" b} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_missing_key.json: -------------------------------------------------------------------------------- 1 | {:"b"} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_missing_semicolon.json: -------------------------------------------------------------------------------- 1 | {"a" "b"} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_missing_value.json: -------------------------------------------------------------------------------- 1 | {"a": -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_no-colon.json: -------------------------------------------------------------------------------- 1 | {"a" -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_non_string_key.json: -------------------------------------------------------------------------------- 1 | { "1": 1 } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_non_string_key_but_huge_number_instead.json: -------------------------------------------------------------------------------- 1 | {9999E9999:1} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_repeated_null_null.json: -------------------------------------------------------------------------------- 1 | {null:null,null:null} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_several_trailing_commas.json: -------------------------------------------------------------------------------- 1 | {"id":0,,,,,} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_single_quote.json: -------------------------------------------------------------------------------- 1 | {'a':0} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_trailing_comma.json: -------------------------------------------------------------------------------- 1 | { "id": 0 } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_trailing_comment_open.json: -------------------------------------------------------------------------------- 1 | {"a":"b"}/**// -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_trailing_comment_slash_open_incomplete.json: -------------------------------------------------------------------------------- 1 | {"a":"b"}/ -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_two_commas_in_a_row.json: -------------------------------------------------------------------------------- 1 | {"a":"b",,"c":"d"} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_unquoted_key.json: -------------------------------------------------------------------------------- 1 | { "a": "b" } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_unterminated-value.json: -------------------------------------------------------------------------------- 1 | {"a":"a -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_with_single_string.json: -------------------------------------------------------------------------------- 1 | { "foo" : "bar", "a" } -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_object_with_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | {"a":"b"}# -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_1_surrogate_then_escape.json: -------------------------------------------------------------------------------- 1 | ["\uD800\"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_1_surrogate_then_escape_u.json: -------------------------------------------------------------------------------- 1 | ["\uD800\u"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_1_surrogate_then_escape_u1.json: -------------------------------------------------------------------------------- 1 | ["\uD800\u1"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_1_surrogate_then_escape_u1x.json: -------------------------------------------------------------------------------- 1 | ["\uD800\u1x"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_accentuated_char_no_quotes.json: -------------------------------------------------------------------------------- 1 | [é] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_backslash_00.json: -------------------------------------------------------------------------------- 1 | ["\"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_escape_x.json: -------------------------------------------------------------------------------- 1 | ["\x00"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_escaped_backslash_bad.json: -------------------------------------------------------------------------------- 1 | ["\\\"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_escaped_ctrl_char_tab.json: -------------------------------------------------------------------------------- 1 | ["\ "] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_escaped_emoji.json: -------------------------------------------------------------------------------- 1 | ["\🌀"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_incomplete_escape.json: -------------------------------------------------------------------------------- 1 | ["\"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_incomplete_escaped_character.json: -------------------------------------------------------------------------------- 1 | ["\u00A"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_incomplete_surrogate.json: -------------------------------------------------------------------------------- 1 | ["\uD834\uDd"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_incomplete_surrogate_escape_invalid.json: -------------------------------------------------------------------------------- 1 | ["\uD800\uD800\x"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_invalid_backslash_esc.json: -------------------------------------------------------------------------------- 1 | ["\a"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_invalid_unicode_escape.json: -------------------------------------------------------------------------------- 1 | ["\uqqqq"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_leading_uescaped_thinspace.json: -------------------------------------------------------------------------------- 1 | [\u0020"asd"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_no_quotes_with_bad_escape.json: -------------------------------------------------------------------------------- 1 | [\n] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_single_doublequote.json: -------------------------------------------------------------------------------- 1 | " -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_single_quote.json: -------------------------------------------------------------------------------- 1 | ['single quote'] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_single_string_no_double_quotes.json: -------------------------------------------------------------------------------- 1 | abc -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_start_escape_unclosed.json: -------------------------------------------------------------------------------- 1 | ["\ -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_unescaped_ctrl_char.json: -------------------------------------------------------------------------------- 1 | ["aa"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_unescaped_newline.json: -------------------------------------------------------------------------------- 1 | ["new 2 | line"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_unescaped_tab.json: -------------------------------------------------------------------------------- 1 | [" "] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_unicode_CapitalU.json: -------------------------------------------------------------------------------- 1 | "\UA66D" -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_string_with_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | ""x -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_U+2060_word_joined.json: -------------------------------------------------------------------------------- 1 | [⁠] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_UTF8_BOM_no_data.json: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_angle_bracket_..json: -------------------------------------------------------------------------------- 1 | <.> -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_angle_bracket_null.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_array_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | [1]x -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_array_with_extra_array_close.json: -------------------------------------------------------------------------------- 1 | [1]] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_array_with_unclosed_string.json: -------------------------------------------------------------------------------- 1 | ["asd] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_ascii-unicode-identifier.json: -------------------------------------------------------------------------------- 1 | aå -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_capitalized_True.json: -------------------------------------------------------------------------------- 1 | [True] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_close_unopened_array.json: -------------------------------------------------------------------------------- 1 | 1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_comma_instead_of_closing_brace.json: -------------------------------------------------------------------------------- 1 | {"x": true, -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_double_array.json: -------------------------------------------------------------------------------- 1 | [][] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_end_array.json: -------------------------------------------------------------------------------- 1 | ] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_lone-invalid-utf-8.json: -------------------------------------------------------------------------------- 1 | � -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_lone-open-bracket.json: -------------------------------------------------------------------------------- 1 | [ -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_null-byte-outside-string.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_number_with_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | 2@ -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_object_followed_by_closing_object.json: -------------------------------------------------------------------------------- 1 | {}} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_object_unclosed_no_value.json: -------------------------------------------------------------------------------- 1 | {"": -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_object_with_trailing_garbage.json: -------------------------------------------------------------------------------- 1 | {"a": true} "x" -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_array_apostrophe.json: -------------------------------------------------------------------------------- 1 | [' -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_array_comma.json: -------------------------------------------------------------------------------- 1 | [, -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_array_open_object.json: -------------------------------------------------------------------------------- 1 | [{ -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_array_open_string.json: -------------------------------------------------------------------------------- 1 | ["a -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_array_string.json: -------------------------------------------------------------------------------- 1 | ["a" -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_object.json: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_object_close_array.json: -------------------------------------------------------------------------------- 1 | {] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_object_comma.json: -------------------------------------------------------------------------------- 1 | {, -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_object_open_array.json: -------------------------------------------------------------------------------- 1 | {[ -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_object_open_string.json: -------------------------------------------------------------------------------- 1 | {"a -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_object_string_with_apostrophes.json: -------------------------------------------------------------------------------- 1 | {'a' -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_open_open.json: -------------------------------------------------------------------------------- 1 | ["\{["\{["\{["\{ -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_single_eacute.json: -------------------------------------------------------------------------------- 1 | � -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_single_star.json: -------------------------------------------------------------------------------- 1 | * -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_trailing_hastag.json: -------------------------------------------------------------------------------- 1 | {"a":"b"}#{} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_uescaped_LF_before_string.json: -------------------------------------------------------------------------------- 1 | [\u000A""] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_unclosed_array.json: -------------------------------------------------------------------------------- 1 | [1 -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_unclosed_array_partial_null.json: -------------------------------------------------------------------------------- 1 | [ false, nul -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_unclosed_array_unfinished_false.json: -------------------------------------------------------------------------------- 1 | [ true, fals -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_unclosed_array_unfinished_true.json: -------------------------------------------------------------------------------- 1 | [ false, tru -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_unclosed_object.json: -------------------------------------------------------------------------------- 1 | {"asd":"asd" -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_unicode-identifier.json: -------------------------------------------------------------------------------- 1 | å -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_whitespace_U+2060_word_joiner.json: -------------------------------------------------------------------------------- 1 | [⁠] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/n_structure_whitespace_formfeed.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_array_arraysWithSpaces.json: -------------------------------------------------------------------------------- 1 | [[] ] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_array_empty-string.json: -------------------------------------------------------------------------------- 1 | [""] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_array_empty.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_array_ending_with_newline.json: -------------------------------------------------------------------------------- 1 | ["a"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_array_false.json: -------------------------------------------------------------------------------- 1 | [false] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_array_heterogeneous.json: -------------------------------------------------------------------------------- 1 | [null, 1, "1", {}] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_array_null.json: -------------------------------------------------------------------------------- 1 | [null] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_array_with_1_and_newline.json: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_array_with_leading_space.json: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_array_with_several_null.json: -------------------------------------------------------------------------------- 1 | [1,null,null,null,2] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_array_with_trailing_space.json: -------------------------------------------------------------------------------- 1 | [2] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number.json: -------------------------------------------------------------------------------- 1 | [123e65] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_0e+1.json: -------------------------------------------------------------------------------- 1 | [0e+1] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_0e1.json: -------------------------------------------------------------------------------- 1 | [0e1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_after_space.json: -------------------------------------------------------------------------------- 1 | [4] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_int_with_exp.json: -------------------------------------------------------------------------------- 1 | [20e1] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_minus_zero.json: -------------------------------------------------------------------------------- 1 | [-0] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_negative_int.json: -------------------------------------------------------------------------------- 1 | [-123] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_negative_one.json: -------------------------------------------------------------------------------- 1 | [-1] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_negative_zero.json: -------------------------------------------------------------------------------- 1 | [-0] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_real_capital_e.json: -------------------------------------------------------------------------------- 1 | [1E22] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_real_capital_e_neg_exp.json: -------------------------------------------------------------------------------- 1 | [1E-2] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_real_capital_e_pos_exp.json: -------------------------------------------------------------------------------- 1 | [1E+2] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_real_exponent.json: -------------------------------------------------------------------------------- 1 | [123e45] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_real_fraction_exponent.json: -------------------------------------------------------------------------------- 1 | [123.456e78] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_real_neg_exp.json: -------------------------------------------------------------------------------- 1 | [1e-2] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_real_pos_exponent.json: -------------------------------------------------------------------------------- 1 | [1e+2] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_simple_int.json: -------------------------------------------------------------------------------- 1 | [123] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_number_simple_real.json: -------------------------------------------------------------------------------- 1 | [123.456789] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_object.json: -------------------------------------------------------------------------------- 1 | { "asd": "sdf", "dfg": "fgh" } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_object_basic.json: -------------------------------------------------------------------------------- 1 | {"asd":"sdf"} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_object_duplicated_key.json: -------------------------------------------------------------------------------- 1 | {"a":"b","a":"c"} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_object_duplicated_key_and_value.json: -------------------------------------------------------------------------------- 1 | { "a": "b", "a": "b" } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_object_empty.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_object_empty_key.json: -------------------------------------------------------------------------------- 1 | {"":0} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_object_escaped_null_in_key.json: -------------------------------------------------------------------------------- 1 | {"foo\u0000bar": 42} -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_object_extreme_numbers.json: -------------------------------------------------------------------------------- 1 | { "min": -1.0e+28, "max": 1.0e+28 } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_object_simple.json: -------------------------------------------------------------------------------- 1 | { "a": [] } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_object_with_newlines.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": "b" 3 | } 4 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_1_2_3_bytes_UTF-8_sequences.json: -------------------------------------------------------------------------------- 1 | ["\u0060\u012a\u12AB"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_accepted_surrogate_pair.json: -------------------------------------------------------------------------------- 1 | ["\uD801\udc37"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_accepted_surrogate_pairs.json: -------------------------------------------------------------------------------- 1 | ["\ud83d\ude39\ud83d\udc8d"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_allowed_escapes.json: -------------------------------------------------------------------------------- 1 | ["\"\\\/\b\f\n\r\t"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_backslash_and_u_escaped_zero.json: -------------------------------------------------------------------------------- 1 | ["\\u0000"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_backslash_doublequotes.json: -------------------------------------------------------------------------------- 1 | ["\""] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_comments.json: -------------------------------------------------------------------------------- 1 | ["a/*b*/c/*d//e"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_double_escape_a.json: -------------------------------------------------------------------------------- 1 | ["\\a"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_double_escape_n.json: -------------------------------------------------------------------------------- 1 | ["\\n"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_escaped_control_character.json: -------------------------------------------------------------------------------- 1 | ["\u0012"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_escaped_noncharacter.json: -------------------------------------------------------------------------------- 1 | ["\uFFFF"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_in_array.json: -------------------------------------------------------------------------------- 1 | ["asd"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_in_array_with_leading_space.json: -------------------------------------------------------------------------------- 1 | [ "asd"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_last_surrogates_1_and_2.json: -------------------------------------------------------------------------------- 1 | ["\uDBFF\uDFFF"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_nbsp_uescaped.json: -------------------------------------------------------------------------------- 1 | ["new\u00A0line"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_nonCharacterInUTF-8_U+10FFFF.json: -------------------------------------------------------------------------------- 1 | ["􏿿"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_nonCharacterInUTF-8_U+FFFF.json: -------------------------------------------------------------------------------- 1 | ["￿"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_null_escape.json: -------------------------------------------------------------------------------- 1 | ["\u0000"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_one-byte-utf-8.json: -------------------------------------------------------------------------------- 1 | ["\u002c"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_pi.json: -------------------------------------------------------------------------------- 1 | ["π"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_reservedCharacterInUTF-8_U+1BFFF.json: -------------------------------------------------------------------------------- 1 | ["𛿿"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_simple_ascii.json: -------------------------------------------------------------------------------- 1 | ["asd "] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_space.json: -------------------------------------------------------------------------------- 1 | " " 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_surrogates_U+1D11E_MUSICAL_SYMBOL_G_CLEF.json: -------------------------------------------------------------------------------- 1 | ["\uD834\uDd1e"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_three-byte-utf-8.json: -------------------------------------------------------------------------------- 1 | ["\u0821"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_two-byte-utf-8.json: -------------------------------------------------------------------------------- 1 | ["\u0123"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_u+2028_line_sep.json: -------------------------------------------------------------------------------- 1 | ["
"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_u+2029_par_sep.json: -------------------------------------------------------------------------------- 1 | ["
"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_uEscape.json: -------------------------------------------------------------------------------- 1 | ["\u0061\u30af\u30EA\u30b9"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_uescaped_newline.json: -------------------------------------------------------------------------------- 1 | ["new\u000Aline"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_unescaped_char_delete.json: -------------------------------------------------------------------------------- 1 | [""] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_unicode.json: -------------------------------------------------------------------------------- 1 | ["\uA66D"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_unicodeEscapedBackslash.json: -------------------------------------------------------------------------------- 1 | ["\u005C"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_unicode_2.json: -------------------------------------------------------------------------------- 1 | ["⍂㈴⍂"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_unicode_U+10FFFE_nonchar.json: -------------------------------------------------------------------------------- 1 | ["\uDBFF\uDFFE"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_unicode_U+1FFFE_nonchar.json: -------------------------------------------------------------------------------- 1 | ["\uD83F\uDFFE"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_unicode_U+200B_ZERO_WIDTH_SPACE.json: -------------------------------------------------------------------------------- 1 | ["\u200B"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_unicode_U+2064_invisible_plus.json: -------------------------------------------------------------------------------- 1 | ["\u2064"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_unicode_U+FDD0_nonchar.json: -------------------------------------------------------------------------------- 1 | ["\uFDD0"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_unicode_U+FFFE_nonchar.json: -------------------------------------------------------------------------------- 1 | ["\uFFFE"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_unicode_escaped_double_quote.json: -------------------------------------------------------------------------------- 1 | ["\u0022"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_utf8.json: -------------------------------------------------------------------------------- 1 | ["€𝄞"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_string_with_del_character.json: -------------------------------------------------------------------------------- 1 | ["aa"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_structure_lonely_false.json: -------------------------------------------------------------------------------- 1 | false 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_structure_lonely_int.json: -------------------------------------------------------------------------------- 1 | 42 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_structure_lonely_negative_real.json: -------------------------------------------------------------------------------- 1 | -0.1 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_structure_lonely_null.json: -------------------------------------------------------------------------------- 1 | null 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_structure_lonely_string.json: -------------------------------------------------------------------------------- 1 | "asd" 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_structure_lonely_true.json: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_structure_string_empty.json: -------------------------------------------------------------------------------- 1 | "" 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_structure_trailing_newline.json: -------------------------------------------------------------------------------- 1 | ["a"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_structure_true_in_array.json: -------------------------------------------------------------------------------- 1 | [true] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_parsing/y_structure_whitespace_array.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/number_-9223372036854775808.json: -------------------------------------------------------------------------------- 1 | [-9223372036854775808] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/number_-9223372036854775809.json: -------------------------------------------------------------------------------- 1 | [-9223372036854775809] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/number_1.0.json: -------------------------------------------------------------------------------- 1 | [1.0] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/number_1.000000000000000005.json: -------------------------------------------------------------------------------- 1 | [1.000000000000000005] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/number_1000000000000000.json: -------------------------------------------------------------------------------- 1 | [1000000000000000] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/number_10000000000000000999.json: -------------------------------------------------------------------------------- 1 | [10000000000000000999] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/number_1e-999.json: -------------------------------------------------------------------------------- 1 | [1E-999] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/number_1e6.json: -------------------------------------------------------------------------------- 1 | [1E6] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/number_9223372036854775807.json: -------------------------------------------------------------------------------- 1 | [9223372036854775807] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/number_9223372036854775808.json: -------------------------------------------------------------------------------- 1 | [9223372036854775808] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/object_key_nfc_nfd.json: -------------------------------------------------------------------------------- 1 | { "é": "NFC", "é": "NFD" } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/object_key_nfd_nfc.json: -------------------------------------------------------------------------------- 1 | { "é": "NFD", "é": "NFC" } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/object_same_key_different_values.json: -------------------------------------------------------------------------------- 1 | { "a": 1, "a": 2 } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/object_same_key_same_value.json: -------------------------------------------------------------------------------- 1 | { "a": 1, "a": 1 } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/object_same_key_unclear_values.json: -------------------------------------------------------------------------------- 1 | { "a": 0, "a": -0 } 2 | -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/string_1_escaped_invalid_codepoint.json: -------------------------------------------------------------------------------- 1 | ["\uD800"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/string_2_escaped_invalid_codepoints.json: -------------------------------------------------------------------------------- 1 | ["\uD800\uD800"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/string_3_escaped_invalid_codepoints.json: -------------------------------------------------------------------------------- 1 | ["\uD800\uD800\uD800"] -------------------------------------------------------------------------------- /jsonc/testdata/JSONTestSuite/test_transform/string_with_escaped_NULL.json: -------------------------------------------------------------------------------- 1 | ["A\u0000B"] 2 | -------------------------------------------------------------------------------- /jsonc/testdata/README.md: -------------------------------------------------------------------------------- 1 | This directory contains test code for JSONC copied from the test suites of other projects. 2 | -------------------------------------------------------------------------------- /toml/testdata/.gitattributes: -------------------------------------------------------------------------------- 1 | *.toml -text 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/double-comma-01.toml: -------------------------------------------------------------------------------- 1 | double-comma-1 = [1,,2] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/double-comma-02.toml: -------------------------------------------------------------------------------- 1 | double-comma-2 = [1,2,,] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/double-comma-1.toml: -------------------------------------------------------------------------------- 1 | double-comma-1 = [1,,2] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/double-comma-2.toml: -------------------------------------------------------------------------------- 1 | double-comma-2 = [1,2,,] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/extend-defined-aot.toml: -------------------------------------------------------------------------------- 1 | [[tab.arr]] 2 | [tab] 3 | arr.val1=1 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/missing-separator-01.toml: -------------------------------------------------------------------------------- 1 | arrr = [true false] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/missing-separator-02.toml: -------------------------------------------------------------------------------- 1 | wrong = [ 1 2 3 ] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-01.toml: -------------------------------------------------------------------------------- 1 | no-close-1 = [ 1, 2, 3 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-02.toml: -------------------------------------------------------------------------------- 1 | no-close-2 = [1, 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-03.toml: -------------------------------------------------------------------------------- 1 | no-close-3 = [42 #] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-04.toml: -------------------------------------------------------------------------------- 1 | no-close-4 = [{ key = 42 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-05.toml: -------------------------------------------------------------------------------- 1 | no-close-5 = [{ key = 42} 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-06.toml: -------------------------------------------------------------------------------- 1 | no-close-6 = [{ key = 42 #}] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-07.toml: -------------------------------------------------------------------------------- 1 | no-close-7 = [{ key = 42} #] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-08.toml: -------------------------------------------------------------------------------- 1 | no-close-8 = [ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-1.toml: -------------------------------------------------------------------------------- 1 | no-close-1 = [ 1, 2, 3 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-2.toml: -------------------------------------------------------------------------------- 1 | no-close-2 = [1, 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-3.toml: -------------------------------------------------------------------------------- 1 | no-close-3 = [42 #] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-4.toml: -------------------------------------------------------------------------------- 1 | no-close-4 = [{ key = 42 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-5.toml: -------------------------------------------------------------------------------- 1 | no-close-5 = [{ key = 42} 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-6.toml: -------------------------------------------------------------------------------- 1 | no-close-6 = [{ key = 42 #}] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-7.toml: -------------------------------------------------------------------------------- 1 | no-close-7 = [{ key = 42} #] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-8.toml: -------------------------------------------------------------------------------- 1 | no-close-8 = [ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-table-01.toml: -------------------------------------------------------------------------------- 1 | x = [{ key = 42 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-close-table-02.toml: -------------------------------------------------------------------------------- 1 | x = [{ key = 42 # 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-comma-01.toml: -------------------------------------------------------------------------------- 1 | no-comma-1 = [true false] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-comma-02.toml: -------------------------------------------------------------------------------- 1 | no-comma-2 = [ 1 2 3 ] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-comma-03.toml: -------------------------------------------------------------------------------- 1 | no-comma-3 = [ 1 #,] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-comma-1.toml: -------------------------------------------------------------------------------- 1 | no-comma-1 = [true false] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-comma-2.toml: -------------------------------------------------------------------------------- 1 | no-comma-2 = [ 1 2 3 ] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/no-comma-3.toml: -------------------------------------------------------------------------------- 1 | no-comma-3 = [ 1 #,] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/only-comma-01.toml: -------------------------------------------------------------------------------- 1 | only-comma-1 = [,] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/only-comma-02.toml: -------------------------------------------------------------------------------- 1 | only-comma-2 = [,,] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/only-comma-1.toml: -------------------------------------------------------------------------------- 1 | only-comma-1 = [,] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/only-comma-2.toml: -------------------------------------------------------------------------------- 1 | only-comma-2 = [,,] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/tables-01.toml: -------------------------------------------------------------------------------- 1 | # INVALID TOML DOC 2 | fruit = [] 3 | 4 | [[fruit]] # Not allowed 5 | -------------------------------------------------------------------------------- /toml/testdata/invalid/array/text-in-array.toml: -------------------------------------------------------------------------------- 1 | array = [ 2 | "Entry 1", 3 | I don't belong, 4 | "Entry 2", 5 | ] 6 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/almost-false-with-extra.toml: -------------------------------------------------------------------------------- 1 | almost-false-with-extra = falsify 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/almost-false.toml: -------------------------------------------------------------------------------- 1 | almost-false = fals 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/almost-true-with-extra.toml: -------------------------------------------------------------------------------- 1 | almost-true-with-extra = truthy 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/almost-true.toml: -------------------------------------------------------------------------------- 1 | almost-true = tru 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/capitalized-false.toml: -------------------------------------------------------------------------------- 1 | capitalized-false = False 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/capitalized-true.toml: -------------------------------------------------------------------------------- 1 | capitalized-true = True 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/just-f.toml: -------------------------------------------------------------------------------- 1 | just-f = f 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/just-t.toml: -------------------------------------------------------------------------------- 1 | just-t = t 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/mixed-case-false.toml: -------------------------------------------------------------------------------- 1 | mixed-case-false = falsE 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/mixed-case-true.toml: -------------------------------------------------------------------------------- 1 | mixed-case-true = trUe 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/mixed-case.toml: -------------------------------------------------------------------------------- 1 | mixed-case = valid = False 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/starting-same-false.toml: -------------------------------------------------------------------------------- 1 | starting-same-false = falsey 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/starting-same-true.toml: -------------------------------------------------------------------------------- 1 | starting-same-true = truer 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/wrong-case-false.toml: -------------------------------------------------------------------------------- 1 | wrong-case-false = FALSE 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/bool/wrong-case-true.toml: -------------------------------------------------------------------------------- 1 | wrong-case-true = TRUE 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/bare-cr.toml: -------------------------------------------------------------------------------- 1 | # The following line contains a single carriage return control character 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/bare-formfeed.toml: -------------------------------------------------------------------------------- 1 | bare-formfeed = 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/bare-null.toml: -------------------------------------------------------------------------------- 1 | bare-null = "some value" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/bare-vertical-tab.toml: -------------------------------------------------------------------------------- 1 | bare-vertical-tab = 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/comment-cr.toml: -------------------------------------------------------------------------------- 1 | comment-cr = "Carriage return in comment" # a=1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/comment-del.toml: -------------------------------------------------------------------------------- 1 | comment-del = "0x7f" #  2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/comment-ff.toml: -------------------------------------------------------------------------------- 1 | comment-ff = "0x7f" # 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/comment-lf.toml: -------------------------------------------------------------------------------- 1 | comment-lf = "ctrl-P" #  2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/comment-null.toml: -------------------------------------------------------------------------------- 1 | comment-null = "null" # 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/comment-us.toml: -------------------------------------------------------------------------------- 1 | comment-us = "ctrl-_" #  2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/multi-cr.toml: -------------------------------------------------------------------------------- 1 | multi-cr = """null """ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/multi-del.toml: -------------------------------------------------------------------------------- 1 | multi-del = """null""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/multi-lf.toml: -------------------------------------------------------------------------------- 1 | multi-lf = """null""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/multi-null.toml: -------------------------------------------------------------------------------- 1 | multi-null = """null""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/multi-us.toml: -------------------------------------------------------------------------------- 1 | multi-us = """null""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/only-ff.toml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/only-null.toml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/only-vt.toml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/rawmulti-cr.toml: -------------------------------------------------------------------------------- 1 | rawmulti-cr = '''null ''' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/rawmulti-del.toml: -------------------------------------------------------------------------------- 1 | rawmulti-del = '''null''' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/rawmulti-lf.toml: -------------------------------------------------------------------------------- 1 | rawmulti-lf = '''null''' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/rawmulti-null.toml: -------------------------------------------------------------------------------- 1 | rawmulti-null = '''null''' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/rawmulti-us.toml: -------------------------------------------------------------------------------- 1 | rawmulti-us = '''null''' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/rawstring-cr.toml: -------------------------------------------------------------------------------- 1 | rawstring-cr = 'null ' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/rawstring-del.toml: -------------------------------------------------------------------------------- 1 | rawstring-del = 'null' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/rawstring-lf.toml: -------------------------------------------------------------------------------- 1 | rawstring-lf = 'null' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/rawstring-null.toml: -------------------------------------------------------------------------------- 1 | rawstring-null = 'null' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/rawstring-us.toml: -------------------------------------------------------------------------------- 1 | rawstring-us = 'null' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/string-bs.toml: -------------------------------------------------------------------------------- 1 | string-bs = "backspace" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/string-cr.toml: -------------------------------------------------------------------------------- 1 | string-cr = "null " 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/string-del.toml: -------------------------------------------------------------------------------- 1 | string-del = "null" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/string-lf.toml: -------------------------------------------------------------------------------- 1 | string-lf = "null" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/string-null.toml: -------------------------------------------------------------------------------- 1 | string-null = "null" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/control/string-us.toml: -------------------------------------------------------------------------------- 1 | string-us = "null" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/day-zero.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-00T09:09:09.09Z 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/feb-29.toml: -------------------------------------------------------------------------------- 1 | "not a leap year" = 2100-02-29T15:15:15Z 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/feb-30.toml: -------------------------------------------------------------------------------- 1 | "only 28 or 29 days in february" = 1988-02-30T15:15:15Z 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/hour-over.toml: -------------------------------------------------------------------------------- 1 | # time-hour = 2DIGIT ; 00-23 2 | d = 2006-01-01T24:00:00-00:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/minute-over.toml: -------------------------------------------------------------------------------- 1 | # time-minute = 2DIGIT ; 00-59 2 | d = 2006-01-01T00:60:00-00:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/month-over.toml: -------------------------------------------------------------------------------- 1 | # date-month = 2DIGIT ; 01-12 2 | d = 2006-13-01T00:00:00-00:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/month-under.toml: -------------------------------------------------------------------------------- 1 | # date-month = 2DIGIT ; 01-12 2 | d = 2007-00-01T00:00:00-00:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/no-date-time-sep.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-0909:09:09 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/no-secs.toml: -------------------------------------------------------------------------------- 1 | # No seconds in time. 2 | no-secs = 1987-07-05T17:45Z 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/no-t.toml: -------------------------------------------------------------------------------- 1 | # No "t" or "T" between the date and time. 2 | no-t = 1987-07-0517:45:00Z 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/no-year-month-sep.toml: -------------------------------------------------------------------------------- 1 | foo = 199709-09 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/offset-minus-minute-1digit.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-09T09:09:09.09+09:9 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/offset-minus-no-hour-minute-sep.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-09T09:09:09.09+0909 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/offset-minus-no-hour-minute.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-09T09:09:09.09+ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/offset-minus-no-minute.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-09T09:09:09.09+09 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/offset-overflow-hour.toml: -------------------------------------------------------------------------------- 1 | # Hour must be 00-24 2 | d = 1985-06-18 17:04:07+25:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/offset-plus-minute-1digit.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-09T09:09:09.09+09:9 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/offset-plus-no-hour-minute-sep.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-09T09:09:09.09+0909 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/offset-plus-no-hour-minute.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-09T09:09:09.09+ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/offset-plus-no-minute.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-09T09:09:09.09+09 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/only-T.toml: -------------------------------------------------------------------------------- 1 | foo = T 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/only-TZ.toml: -------------------------------------------------------------------------------- 1 | foo = TZ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/only-Tdot.toml: -------------------------------------------------------------------------------- 1 | foo = T. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/second-trailing-dot.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-09T09:09:09. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/second-trailing-dotz.toml: -------------------------------------------------------------------------------- 1 | foo = 2016-09-09T09:09:09.Z 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/time-no-leads.toml: -------------------------------------------------------------------------------- 1 | # Leading 0 is always required. 2 | d = 2023-10-01T1:32:00Z 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/trailing-x.toml: -------------------------------------------------------------------------------- 1 | sign=2020-01-01x 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/datetime/y10k.toml: -------------------------------------------------------------------------------- 1 | # Maximum RFC3399 year is 9999. 2 | d = 10000-01-01 00:00:00z 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/encoding/ideographic-space.toml: -------------------------------------------------------------------------------- 1 | # First on next line is U+3000 IDEOGRAPHIC SPACE 2 |  foo = "bar" 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/encoding/utf16-comment.toml: -------------------------------------------------------------------------------- 1 | # UTF-16 without BOM 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/encoding/utf16-key.toml: -------------------------------------------------------------------------------- 1 | k = "v" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/double-dot-01.toml: -------------------------------------------------------------------------------- 1 | double-point-1 = 0..1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/double-dot-02.toml: -------------------------------------------------------------------------------- 1 | double-point-2 = 0.1.2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/double-point-1.toml: -------------------------------------------------------------------------------- 1 | double-point-1 = 0..1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/double-point-2.toml: -------------------------------------------------------------------------------- 1 | double-point-2 = 0.1.2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-dot-01.toml: -------------------------------------------------------------------------------- 1 | exp-point-1 = 1e2.3 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-dot-02.toml: -------------------------------------------------------------------------------- 1 | exp-point-2 = 1.e2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-dot-03.toml: -------------------------------------------------------------------------------- 1 | exp-point-3 = 3.e+20 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-double-e-01.toml: -------------------------------------------------------------------------------- 1 | exp-double-e-1 = 1ee2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-double-e-02.toml: -------------------------------------------------------------------------------- 1 | exp-double-e-2 = 1e2e3 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-double-e-1.toml: -------------------------------------------------------------------------------- 1 | exp-double-e-1 = 1ee2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-double-e-2.toml: -------------------------------------------------------------------------------- 1 | exp-double-e-2 = 1e2e3 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-double-us.toml: -------------------------------------------------------------------------------- 1 | exp-double-us = 1e__23 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-leading-us.toml: -------------------------------------------------------------------------------- 1 | exp-leading-us = 1e_23 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-point-1.toml: -------------------------------------------------------------------------------- 1 | exp-point-1 = 1e2.3 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-point-2.toml: -------------------------------------------------------------------------------- 1 | exp-point-2 = 1.e2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-point-3.toml: -------------------------------------------------------------------------------- 1 | exp-point-3 = 3.e+20 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-trailing-us-01.toml: -------------------------------------------------------------------------------- 1 | exp-trailing-us-1 = 1_e2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-trailing-us-02.toml: -------------------------------------------------------------------------------- 1 | exp-trailing-us-2 = 1.2_e2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-trailing-us-1.toml: -------------------------------------------------------------------------------- 1 | exp-trailing-us-1 = 1_e2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-trailing-us-2.toml: -------------------------------------------------------------------------------- 1 | exp-trailing-us-2 = 1.2_e2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/exp-trailing-us.toml: -------------------------------------------------------------------------------- 1 | exp-trailing-us = 1e23_ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/inf-capital.toml: -------------------------------------------------------------------------------- 1 | v = Inf 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/inf-incomplete-01.toml: -------------------------------------------------------------------------------- 1 | inf-incomplete-1 = in 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/inf-incomplete-02.toml: -------------------------------------------------------------------------------- 1 | inf-incomplete-2 = +in 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/inf-incomplete-03.toml: -------------------------------------------------------------------------------- 1 | inf-incomplete-3 = -in 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/inf-incomplete-1.toml: -------------------------------------------------------------------------------- 1 | inf-incomplete-1 = in 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/inf-incomplete-2.toml: -------------------------------------------------------------------------------- 1 | inf-incomplete-2 = +in 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/inf-incomplete-3.toml: -------------------------------------------------------------------------------- 1 | inf-incomplete-3 = -in 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/inf_underscore.toml: -------------------------------------------------------------------------------- 1 | inf_underscore = in_f 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/leading-dot-neg.toml: -------------------------------------------------------------------------------- 1 | leading-point-neg = -.12345 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/leading-dot-plus.toml: -------------------------------------------------------------------------------- 1 | leading-point-plus = +.12345 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/leading-dot.toml: -------------------------------------------------------------------------------- 1 | leading-point = .12345 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/leading-point-neg.toml: -------------------------------------------------------------------------------- 1 | leading-point-neg = -.12345 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/leading-point-plus.toml: -------------------------------------------------------------------------------- 1 | leading-point-plus = +.12345 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/leading-point.toml: -------------------------------------------------------------------------------- 1 | leading-point = .12345 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/leading-us.toml: -------------------------------------------------------------------------------- 1 | leading-us = _1.2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/leading-zero-neg.toml: -------------------------------------------------------------------------------- 1 | leading-zero-neg = -03.14 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/leading-zero-plus.toml: -------------------------------------------------------------------------------- 1 | leading-zero-plus = +03.14 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/leading-zero.toml: -------------------------------------------------------------------------------- 1 | leading-zero = 03.14 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/nan-capital.toml: -------------------------------------------------------------------------------- 1 | v = NaN 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/nan-incomplete-01.toml: -------------------------------------------------------------------------------- 1 | nan-incomplete-1 = na 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/nan-incomplete-02.toml: -------------------------------------------------------------------------------- 1 | nan-incomplete-2 = +na 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/nan-incomplete-03.toml: -------------------------------------------------------------------------------- 1 | nan-incomplete-3 = -na 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/nan-incomplete-1.toml: -------------------------------------------------------------------------------- 1 | nan-incomplete-1 = na 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/nan-incomplete-2.toml: -------------------------------------------------------------------------------- 1 | nan-incomplete-2 = +na 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/nan-incomplete-3.toml: -------------------------------------------------------------------------------- 1 | nan-incomplete-3 = -na 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/nan_underscore.toml: -------------------------------------------------------------------------------- 1 | nan_underscore = na_n 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-dot-01.toml: -------------------------------------------------------------------------------- 1 | trailing-point = 1. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-dot-02.toml: -------------------------------------------------------------------------------- 1 | a = 1. 2 | b = 2 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-dot-min.toml: -------------------------------------------------------------------------------- 1 | trailing-point-min = -1. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-dot-plus.toml: -------------------------------------------------------------------------------- 1 | trailing-point-plus = +1. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-exp-minus.toml: -------------------------------------------------------------------------------- 1 | trailing-exp-minus = 0.0e- 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-exp-plus.toml: -------------------------------------------------------------------------------- 1 | trailing-exp-plus = 0.0e+ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-exp-point.toml: -------------------------------------------------------------------------------- 1 | trailing-exp-point = 0.e 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-exp.toml: -------------------------------------------------------------------------------- 1 | trailing-exp = 0.0E 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-point-min.toml: -------------------------------------------------------------------------------- 1 | trailing-point-min = -1. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-point-plus.toml: -------------------------------------------------------------------------------- 1 | trailing-point-plus = +1. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-point.toml: -------------------------------------------------------------------------------- 1 | trailing-point = 1. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-us-exp-01.toml: -------------------------------------------------------------------------------- 1 | trailing-us-exp-1 = 1_e2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-us-exp-02.toml: -------------------------------------------------------------------------------- 1 | trailing-us-exp-2 = 1.2_e2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/trailing-us.toml: -------------------------------------------------------------------------------- 1 | trailing-us = 1.2_ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/us-after-dot.toml: -------------------------------------------------------------------------------- 1 | us-after-point = 1._2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/us-after-point.toml: -------------------------------------------------------------------------------- 1 | us-after-point = 1._2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/us-before-dot.toml: -------------------------------------------------------------------------------- 1 | us-before-point = 1_.2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/float/us-before-point.toml: -------------------------------------------------------------------------------- 1 | us-before-point = 1_.2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/bad-key-syntax.toml: -------------------------------------------------------------------------------- 1 | tbl = { a = 1, [b] } 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/double-comma.toml: -------------------------------------------------------------------------------- 1 | t = {x=3,,y=4} 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/duplicate-key-02.toml: -------------------------------------------------------------------------------- 1 | table1 = { table2.dupe = 1, table2.dupe = 2 } 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/duplicate-key-04.toml: -------------------------------------------------------------------------------- 1 | tbl = { a.b = "a_b", a.b.c = "a_b_c" } 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/empty-01.toml: -------------------------------------------------------------------------------- 1 | t = {,} 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/empty-02.toml: -------------------------------------------------------------------------------- 1 | t = {, 2 | } 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/empty-03.toml: -------------------------------------------------------------------------------- 1 | t = { 2 | , 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/linebreak-02.toml: -------------------------------------------------------------------------------- 1 | t = {a=1, 2 | b=2} 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/linebreak-03.toml: -------------------------------------------------------------------------------- 1 | t = {a=1 2 | ,b=2} 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/no-close-01.toml: -------------------------------------------------------------------------------- 1 | a={ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/no-close-02.toml: -------------------------------------------------------------------------------- 1 | a={b=1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/no-comma-01.toml: -------------------------------------------------------------------------------- 1 | t = {x = 3 y = 4} 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/no-comma-02.toml: -------------------------------------------------------------------------------- 1 | arrr = { comma-missing = true valid-toml = false } 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/overwrite-02.toml: -------------------------------------------------------------------------------- 1 | a={} 2 | # Inline tables are immutable and can't be extended 3 | [a.b] 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/overwrite-03.toml: -------------------------------------------------------------------------------- 1 | a = { b = 1 } 2 | a.b = 2 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/overwrite-04.toml: -------------------------------------------------------------------------------- 1 | inline-t = { nest = {} } 2 | 3 | [[inline-t.nest]] 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/overwrite-05.toml: -------------------------------------------------------------------------------- 1 | inline-t = { nest = {} } 2 | 3 | [inline-t.nest] 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/overwrite-06.toml: -------------------------------------------------------------------------------- 1 | a = { b = 1, b.c = 2 } 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/overwrite-07.toml: -------------------------------------------------------------------------------- 1 | tab = { inner.table = [{}], inner.table.val = "bad" } -------------------------------------------------------------------------------- /toml/testdata/invalid/inline-table/overwrite-08.toml: -------------------------------------------------------------------------------- 1 | tab = { inner = { dog = "best" }, inner.cat = "worst" } -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/capital-bin.toml: -------------------------------------------------------------------------------- 1 | capital-bin = 0B0 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/capital-hex.toml: -------------------------------------------------------------------------------- 1 | capital-hex = 0X1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/capital-oct.toml: -------------------------------------------------------------------------------- 1 | capital-oct = 0O0 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/double-sign-nex.toml: -------------------------------------------------------------------------------- 1 | double-sign-nex = --99 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/double-sign-plus.toml: -------------------------------------------------------------------------------- 1 | double-sign-plus = ++99 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/double-us.toml: -------------------------------------------------------------------------------- 1 | double-us = 1__23 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/incomplete-bin.toml: -------------------------------------------------------------------------------- 1 | incomplete-bin = 0b 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/incomplete-hex.toml: -------------------------------------------------------------------------------- 1 | incomplete-hex = 0x 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/incomplete-oct.toml: -------------------------------------------------------------------------------- 1 | incomplete-oct = 0o 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/invalid-bin.toml: -------------------------------------------------------------------------------- 1 | invalid-bin = 0b0012 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/invalid-hex-01.toml: -------------------------------------------------------------------------------- 1 | invalid-hex-1 = 0xaafz 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/invalid-hex-02.toml: -------------------------------------------------------------------------------- 1 | invalid-hex-2 = 0xgabba00f1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/invalid-hex-03.toml: -------------------------------------------------------------------------------- 1 | a = 0x-1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/invalid-hex-1.toml: -------------------------------------------------------------------------------- 1 | invalid-hex-1 = 0xaafz 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/invalid-hex-2.toml: -------------------------------------------------------------------------------- 1 | invalid-hex-2 = 0xgabba00f1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/invalid-oct.toml: -------------------------------------------------------------------------------- 1 | invalid-oct = 0o778 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-us-bin.toml: -------------------------------------------------------------------------------- 1 | leading-us-bin = _0b1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-us-hex.toml: -------------------------------------------------------------------------------- 1 | leading-us-hex = _0x1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-us-oct.toml: -------------------------------------------------------------------------------- 1 | leading-us-oct = _0o1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-us.toml: -------------------------------------------------------------------------------- 1 | leading-us = _123 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-01.toml: -------------------------------------------------------------------------------- 1 | leading-zero-1 = 01 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-02.toml: -------------------------------------------------------------------------------- 1 | leading-zero-2 = 00 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-03.toml: -------------------------------------------------------------------------------- 1 | leading-zero-3 = 0_0 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-1.toml: -------------------------------------------------------------------------------- 1 | leading-zero-1 = 01 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-2.toml: -------------------------------------------------------------------------------- 1 | leading-zero-2 = 00 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-3.toml: -------------------------------------------------------------------------------- 1 | leading-zero-3 = 0_0 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-sign-01.toml: -------------------------------------------------------------------------------- 1 | leading-zero-sign-1 = -01 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-sign-02.toml: -------------------------------------------------------------------------------- 1 | leading-zero-sign-2 = +01 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-sign-03.toml: -------------------------------------------------------------------------------- 1 | leading-zero-sign-3 = +0_1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-sign-1.toml: -------------------------------------------------------------------------------- 1 | leading-zero-sign-1 = -01 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-sign-2.toml: -------------------------------------------------------------------------------- 1 | leading-zero-sign-2 = +01 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/leading-zero-sign-3.toml: -------------------------------------------------------------------------------- 1 | leading-zero-sign-3 = +0_1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/negative-bin.toml: -------------------------------------------------------------------------------- 1 | negative-bin = -0b11010110 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/negative-hex.toml: -------------------------------------------------------------------------------- 1 | negative-hex = -0xff 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/negative-oct.toml: -------------------------------------------------------------------------------- 1 | negative-oct = -0o755 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/positive-bin.toml: -------------------------------------------------------------------------------- 1 | positive-bin = +0b11010110 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/positive-hex.toml: -------------------------------------------------------------------------------- 1 | positive-hex = +0xff 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/positive-oct.toml: -------------------------------------------------------------------------------- 1 | positive-oct = +0o755 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/text-after-integer.toml: -------------------------------------------------------------------------------- 1 | answer = 42 the ultimate answer? 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/trailing-us-bin.toml: -------------------------------------------------------------------------------- 1 | trailing-us-bin = 0b1_ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/trailing-us-hex.toml: -------------------------------------------------------------------------------- 1 | trailing-us-hex = 0x1_ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/trailing-us-oct.toml: -------------------------------------------------------------------------------- 1 | trailing-us-oct = 0o1_ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/trailing-us.toml: -------------------------------------------------------------------------------- 1 | trailing-us = 123_ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/us-after-bin.toml: -------------------------------------------------------------------------------- 1 | us-after-bin = 0b_1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/us-after-hex.toml: -------------------------------------------------------------------------------- 1 | us-after-hex = 0x_1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/integer/us-after-oct.toml: -------------------------------------------------------------------------------- 1 | us-after-oct = 0o_1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/after-array.toml: -------------------------------------------------------------------------------- 1 | [[agencies]] owner = "S Cjelli" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/after-table.toml: -------------------------------------------------------------------------------- 1 | [error] this = "should not be here" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/after-value.toml: -------------------------------------------------------------------------------- 1 | first = "Tom" last = "Preston-Werner" # INVALID 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/bare-invalid-character-01.toml: -------------------------------------------------------------------------------- 1 | ! = 123 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/bare-invalid-character-02.toml: -------------------------------------------------------------------------------- 1 | bare!key = 123 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/dot.toml: -------------------------------------------------------------------------------- 1 | . = 1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/dotdot.toml: -------------------------------------------------------------------------------- 1 | .. = 1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/dotted-redefine-table-01.toml: -------------------------------------------------------------------------------- 1 | a = false 2 | a.b = true 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/duplicate-keys-01.toml: -------------------------------------------------------------------------------- 1 | name = "Tom" 2 | name = "Pradyun" 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/duplicate-keys-02.toml: -------------------------------------------------------------------------------- 1 | dupe = false 2 | dupe = true 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/duplicate-keys-03.toml: -------------------------------------------------------------------------------- 1 | spelling = "favorite" 2 | "spelling" = "favourite" 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/duplicate-keys-04.toml: -------------------------------------------------------------------------------- 1 | spelling = "favorite" 2 | 'spelling' = "favourite" 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/duplicate-keys-05.toml: -------------------------------------------------------------------------------- 1 | a = 1 2 | "\u0061" = 1 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/duplicate-keys-06.toml: -------------------------------------------------------------------------------- 1 | "a'b" = 1 2 | "a\u0027b" = 2 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/duplicate-keys-07.toml: -------------------------------------------------------------------------------- 1 | "" = 1 2 | "" = 2 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/empty.toml: -------------------------------------------------------------------------------- 1 | = 1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/end-in-escape.toml: -------------------------------------------------------------------------------- 1 | "backslash is the last char\ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/escape.toml: -------------------------------------------------------------------------------- 1 | \u00c0 = "latin capital letter A with grave" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/hash.toml: -------------------------------------------------------------------------------- 1 | a# = 1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/multiline-key-01.toml: -------------------------------------------------------------------------------- 1 | """key""" = 1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/multiline-key-02.toml: -------------------------------------------------------------------------------- 1 | '''key''' = 1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/multiline-key-03.toml: -------------------------------------------------------------------------------- 1 | """key""" = """v""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/multiline-key-04.toml: -------------------------------------------------------------------------------- 1 | '''key''' = '''v''' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/newline-01.toml: -------------------------------------------------------------------------------- 1 | barekey 2 | = 1 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/newline-02.toml: -------------------------------------------------------------------------------- 1 | "quoted 2 | key" = 1 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/newline-03.toml: -------------------------------------------------------------------------------- 1 | 'quoted 2 | key' = 1 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/newline-04.toml: -------------------------------------------------------------------------------- 1 | """long 2 | key""" = 1 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/newline-05.toml: -------------------------------------------------------------------------------- 1 | '''long 2 | key''' = 1 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/newline-06.toml: -------------------------------------------------------------------------------- 1 | key = 2 | 1 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/no-eol-01.toml: -------------------------------------------------------------------------------- 1 | a = 1 b = 2 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/no-eol-02.toml: -------------------------------------------------------------------------------- 1 | 0=0r=false 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/no-eol-03.toml: -------------------------------------------------------------------------------- 1 | 0=""o=""m=""r=""00="0"q="""0"""e="""0""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/no-eol-04.toml: -------------------------------------------------------------------------------- 1 | [[0000l0]] 2 | 0="0"[[0000l0]] 3 | 0="0"[[0000l0]] 4 | 0="0"l="0" 5 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/no-eol-05.toml: -------------------------------------------------------------------------------- 1 | 0=[0]00=[0,0,0]t=["0","0","0"]s=[1000-00-00T00:00:00Z,2000-00-00T00:00:00Z] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/no-eol-06.toml: -------------------------------------------------------------------------------- 1 | 0=0r0=0r=false 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/no-eol-07.toml: -------------------------------------------------------------------------------- 1 | 0=0r0=0r=falsefal=false 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/only-float.toml: -------------------------------------------------------------------------------- 1 | 1.1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/only-int.toml: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/only-str.toml: -------------------------------------------------------------------------------- 1 | "" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/open-bracket.toml: -------------------------------------------------------------------------------- 1 | [abc = 1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/partial-quoted.toml: -------------------------------------------------------------------------------- 1 | partial"quoted" = 5 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/quoted-unclosed-01.toml: -------------------------------------------------------------------------------- 1 | "key = x 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/quoted-unclosed-02.toml: -------------------------------------------------------------------------------- 1 | "key 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/single-open-bracket.toml: -------------------------------------------------------------------------------- 1 | [ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/space.toml: -------------------------------------------------------------------------------- 1 | a b = 1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/special-character.toml: -------------------------------------------------------------------------------- 1 | μ = "greek small letter mu" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/start-bracket.toml: -------------------------------------------------------------------------------- 1 | [a] 2 | [xyz = 5 3 | [b] 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/start-dot.toml: -------------------------------------------------------------------------------- 1 | .key = 1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/two-equals-01.toml: -------------------------------------------------------------------------------- 1 | key= = 1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/two-equals-02.toml: -------------------------------------------------------------------------------- 1 | a==1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/two-equals-03.toml: -------------------------------------------------------------------------------- 1 | a=b=1 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/without-value-01.toml: -------------------------------------------------------------------------------- 1 | key 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/without-value-02.toml: -------------------------------------------------------------------------------- 1 | key = 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/without-value-03.toml: -------------------------------------------------------------------------------- 1 | "key" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/without-value-04.toml: -------------------------------------------------------------------------------- 1 | "key" = 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/without-value-05.toml: -------------------------------------------------------------------------------- 1 | fs.fw 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/without-value-06.toml: -------------------------------------------------------------------------------- 1 | fs.fw = 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/key/without-value-07.toml: -------------------------------------------------------------------------------- 1 | fs. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-date/day-1digit.toml: -------------------------------------------------------------------------------- 1 | foo = 1997-09-9 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-date/feb-29.toml: -------------------------------------------------------------------------------- 1 | "not a leap year" = 2100-02-29 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-date/feb-30.toml: -------------------------------------------------------------------------------- 1 | "only 28 or 29 days in february" = 1988-02-30 2 | 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-date/month-over.toml: -------------------------------------------------------------------------------- 1 | # date-month = 2DIGIT ; 01-12 2 | d = 2006-13-01 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-date/month-under.toml: -------------------------------------------------------------------------------- 1 | # date-month = 2DIGIT ; 01-12 2 | d = 2007-00-01 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-date/trailing-t.toml: -------------------------------------------------------------------------------- 1 | # Date cannot end with trailing T 2 | d = 2006-01-30T 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-date/y10k.toml: -------------------------------------------------------------------------------- 1 | # Maximum RFC3399 year is 9999. 2 | d = 10000-01-01 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-date/year-3digits.toml: -------------------------------------------------------------------------------- 1 | foo = 199-09-09 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-datetime/feb-29.toml: -------------------------------------------------------------------------------- 1 | "not a leap year" = 2100-02-29T15:15:15 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-datetime/feb-30.toml: -------------------------------------------------------------------------------- 1 | "only 28 or 29 days in february" = 1988-02-30T15:15:15 2 | 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-datetime/hour-over.toml: -------------------------------------------------------------------------------- 1 | # time-hour = 2DIGIT ; 00-23 2 | d = 2006-01-01T24:00:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-datetime/minute-over.toml: -------------------------------------------------------------------------------- 1 | # time-minute = 2DIGIT ; 00-59 2 | d = 2006-01-01T00:60:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-datetime/month-over.toml: -------------------------------------------------------------------------------- 1 | # date-month = 2DIGIT ; 01-12 2 | d = 2006-13-01T00:00:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-datetime/month-under.toml: -------------------------------------------------------------------------------- 1 | # date-month = 2DIGIT ; 01-12 2 | d = 2007-00-01T00:00:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-datetime/no-secs.toml: -------------------------------------------------------------------------------- 1 | # No seconds in time. 2 | no-secs = 1987-07-05T17:45 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-datetime/no-t.toml: -------------------------------------------------------------------------------- 1 | # No "t" or "T" between the date and time. 2 | no-t = 1987-07-0517:45:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-datetime/time-no-leads.toml: -------------------------------------------------------------------------------- 1 | # Leading 0 is always required. 2 | d = 2023-10-01T1:32:00Z 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-datetime/y10k.toml: -------------------------------------------------------------------------------- 1 | # Maximum RFC3399 year is 9999. 2 | d = 10000-01-01 00:00:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-time/hour-over.toml: -------------------------------------------------------------------------------- 1 | # time-hour = 2DIGIT ; 00-23 2 | d = 24:00:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-time/minute-over.toml: -------------------------------------------------------------------------------- 1 | # time-minute = 2DIGIT ; 00-59 2 | d = 00:60:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-time/no-secs.toml: -------------------------------------------------------------------------------- 1 | # No seconds in time. 2 | no-secs = 17:45 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-time/time-no-leads-01.toml: -------------------------------------------------------------------------------- 1 | # Leading 0 is always required. 2 | d = 1:32:00 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-time/time-no-leads-02.toml: -------------------------------------------------------------------------------- 1 | # Leading 0 is always required. 2 | d = 01:32:0 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-time/trailing-dot.toml: -------------------------------------------------------------------------------- 1 | t = 12:13:14. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/local-time/trailing-dotdot.toml: -------------------------------------------------------------------------------- 1 | t = 12:13:14.. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/spec-1.0.0/key-value-pair-1.toml: -------------------------------------------------------------------------------- 1 | key = # INVALID 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/spec-1.1.0/common-2.toml: -------------------------------------------------------------------------------- 1 | key = # INVALID 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/spec-1.1.0/common-49-0.toml: -------------------------------------------------------------------------------- 1 | [product] 2 | type = { name = "Nail" } 3 | type.edible = false # INVALID 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/spec-1.1.0/common-50-0.toml: -------------------------------------------------------------------------------- 1 | [product] 2 | type.name = "Nail" 3 | type = { edible = false } # INVALID 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-byte-escape.toml: -------------------------------------------------------------------------------- 1 | naughty = "\xAg" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-concat.toml: -------------------------------------------------------------------------------- 1 | no_concat = "first" "second" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-escape-01.toml: -------------------------------------------------------------------------------- 1 | invalid-escape = "This string has a bad \a escape character." 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-escape-02.toml: -------------------------------------------------------------------------------- 1 | invalid-escape = "This string has a bad \ escape character." 2 | 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-escape-03.toml: -------------------------------------------------------------------------------- 1 | backslash = "\" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-escape-04.toml: -------------------------------------------------------------------------------- 1 | a = "a \\\ b" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-escape-05.toml: -------------------------------------------------------------------------------- 1 | a = "a \\\\\ b" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-hex-esc-01.toml: -------------------------------------------------------------------------------- 1 | bad-hex-esc-1 = "\x0g" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-hex-esc-02.toml: -------------------------------------------------------------------------------- 1 | bad-hex-esc-2 = "\xG0" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-hex-esc-03.toml: -------------------------------------------------------------------------------- 1 | bad-hex-esc-3 = "\x" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-hex-esc-04.toml: -------------------------------------------------------------------------------- 1 | bad-hex-esc-4 = "\x 50" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-hex-esc-05.toml: -------------------------------------------------------------------------------- 1 | bad-hex-esc-5 = "\x 50" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-hex-esc-1.toml: -------------------------------------------------------------------------------- 1 | bad-hex-esc-1 = "\x0g" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-hex-esc-2.toml: -------------------------------------------------------------------------------- 1 | bad-hex-esc-2 = "\xG0" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-hex-esc-3.toml: -------------------------------------------------------------------------------- 1 | bad-hex-esc-3 = "\x" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-hex-esc-4.toml: -------------------------------------------------------------------------------- 1 | bad-hex-esc-4 = "\x 50" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-multiline.toml: -------------------------------------------------------------------------------- 1 | multi = "first line 2 | second line" 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-slash-escape.toml: -------------------------------------------------------------------------------- 1 | invalid-escape = "This string has a bad \/ escape character." 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-01.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-1 = "val\ue" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-02.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-2 = "val\Ux" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-03.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-3 = "val\U0000000" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-04.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-4 = "val\U0000" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-05.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-5 = "val\Ugggggggg" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-07.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-7 = "\uabag" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-1.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-1 = "val\ue" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-2.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-2 = "val\Ux" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-3.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-3 = "val\U0000000" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-4.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-4 = "val\U0000" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-5.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-5 = "val\Ugggggggg" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-6.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-6 = "This string contains a non scalar unicode codepoint \uD801" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-7.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-7 = "\uabag" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-ml-1.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-ml-1 = """val\ue""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-ml-2.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-ml-2 = """val\Ux""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-ml-3.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-ml-3 = """val\U0000000""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-ml-4.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-ml-4 = """val\U0000""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-ml-5.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-ml-5 = """val\Ugggggggg""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/bad-uni-esc-ml-7.toml: -------------------------------------------------------------------------------- 1 | bad-uni-esc-ml-7 = """\uabag""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/basic-byte-escapes.toml: -------------------------------------------------------------------------------- 1 | answer = "\x33" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/basic-multiline-out-of-range-unicode-escape-01.toml: -------------------------------------------------------------------------------- 1 | a = """\UFFFFFFFF""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/basic-multiline-out-of-range-unicode-escape-02.toml: -------------------------------------------------------------------------------- 1 | a = """\U00D80000""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/basic-multiline-quotes.toml: -------------------------------------------------------------------------------- 1 | str5 = """Here are three quotation marks: """.""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/basic-multiline-unknown-escape.toml: -------------------------------------------------------------------------------- 1 | a = """\@""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/basic-out-of-range-unicode-escape-01.toml: -------------------------------------------------------------------------------- 1 | a = "\UFFFFFFFF" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/basic-out-of-range-unicode-escape-02.toml: -------------------------------------------------------------------------------- 1 | a = "\U00D80000" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/basic-unknown-escape.toml: -------------------------------------------------------------------------------- 1 | a = "\@" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/literal-multiline-quotes-01.toml: -------------------------------------------------------------------------------- 1 | a = '''6 apostrophes: '''''' 2 | 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/literal-multiline-quotes-02.toml: -------------------------------------------------------------------------------- 1 | a = '''15 apostrophes: '''''''''''''''''' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/missing-quotes-array.toml: -------------------------------------------------------------------------------- 1 | name = [value] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/missing-quotes-inline-table.toml: -------------------------------------------------------------------------------- 1 | name = { key = value } 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/missing-quotes.toml: -------------------------------------------------------------------------------- 1 | name = value 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-bad-escape-01.toml: -------------------------------------------------------------------------------- 1 | k = """t\a""" 2 | 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-bad-escape-02.toml: -------------------------------------------------------------------------------- 1 | # \ is not a valid escape. 2 | k = """t\ t""" 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-bad-escape-03.toml: -------------------------------------------------------------------------------- 1 | # \ is not a valid escape. 2 | k = """t\ """ 3 | 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-bad-escape-04.toml: -------------------------------------------------------------------------------- 1 | backslash = """\""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-escape-space-01.toml: -------------------------------------------------------------------------------- 1 | a = """ 2 | foo \ \n 3 | bar""" 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-escape-space-02.toml: -------------------------------------------------------------------------------- 1 | bee = """ 2 | hee \ 3 | 4 | gee \ """ 5 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-lit-no-close-01.toml: -------------------------------------------------------------------------------- 1 | invalid = ''' 2 | this will fail 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-lit-no-close-02.toml: -------------------------------------------------------------------------------- 1 | x=''' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-lit-no-close-03.toml: -------------------------------------------------------------------------------- 1 | not-closed= ''' 2 | diibaa 3 | blibae ete 4 | eteta 5 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-lit-no-close-04.toml: -------------------------------------------------------------------------------- 1 | bee = ''' 2 | hee 3 | gee '' 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-no-close-01.toml: -------------------------------------------------------------------------------- 1 | invalid = """ 2 | this will fail 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-no-close-02.toml: -------------------------------------------------------------------------------- 1 | x=""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-no-close-03.toml: -------------------------------------------------------------------------------- 1 | not-closed= """ 2 | diibaa 3 | blibae ete 4 | eteta 5 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-no-close-04.toml: -------------------------------------------------------------------------------- 1 | bee = """ 2 | hee 3 | gee "" 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-no-close-05.toml: -------------------------------------------------------------------------------- 1 | bee = """ 2 | hee 3 | gee\ 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/multiline-quotes-01.toml: -------------------------------------------------------------------------------- 1 | a = """6 quotes: """""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-close-01.toml: -------------------------------------------------------------------------------- 1 | no-ending-quote = "One time, at band camp 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-close-02.toml: -------------------------------------------------------------------------------- 1 | "a-string".must-be = "closed 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-close-03.toml: -------------------------------------------------------------------------------- 1 | no-ending-quote = 'One time, at band camp 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-close-04.toml: -------------------------------------------------------------------------------- 1 | 'a-string'.must-be = 'closed 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-close-05.toml: -------------------------------------------------------------------------------- 1 | # No newline at end 2 | no-ending-quote = "One time, at band camp -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-close-06.toml: -------------------------------------------------------------------------------- 1 | # No newline at end 2 | "a-string".must-be = "closed -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-close-07.toml: -------------------------------------------------------------------------------- 1 | # No newline at end 2 | no-ending-quote = 'One time, at band camp -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-close-08.toml: -------------------------------------------------------------------------------- 1 | # No newline at end 2 | 'a-string'.must-be = 'closed -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-close-09.toml: -------------------------------------------------------------------------------- 1 | # Newlines are not allowed in "-strings. 2 | a = " 3 | " 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-close-10.toml: -------------------------------------------------------------------------------- 1 | # Newlines are not allowed in '-strings. 2 | a = ' 3 | ' 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-open-01.toml: -------------------------------------------------------------------------------- 1 | s = a" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-open-02.toml: -------------------------------------------------------------------------------- 1 | a = [a"] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-open-03.toml: -------------------------------------------------------------------------------- 1 | s = a' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-open-04.toml: -------------------------------------------------------------------------------- 1 | a = [a'] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-open-05.toml: -------------------------------------------------------------------------------- 1 | a = a""" 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-open-06.toml: -------------------------------------------------------------------------------- 1 | a = [a"""] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-open-07.toml: -------------------------------------------------------------------------------- 1 | a = a''' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/no-open-08.toml: -------------------------------------------------------------------------------- 1 | a = [a'''] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/text-after-string.toml: -------------------------------------------------------------------------------- 1 | string = "Is there life after strings?" No. 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/string/wrong-close.toml: -------------------------------------------------------------------------------- 1 | bad-ending-quote = "double and single' 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/append-with-dotted-keys-03.toml: -------------------------------------------------------------------------------- 1 | [[a.b]] 2 | 3 | [a] 4 | b.y = 2 5 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/append-with-dotted-keys-05.toml: -------------------------------------------------------------------------------- 1 | a.b.c = 1 2 | a.b = 2 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/append-with-dotted-keys-06.toml: -------------------------------------------------------------------------------- 1 | a = 1 2 | a.b = 2 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/append-with-dotted-keys-07.toml: -------------------------------------------------------------------------------- 1 | a = {k1 = 1, k1.name = "joe"} 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/array-empty.toml: -------------------------------------------------------------------------------- 1 | [[]] 2 | name = "Born to Run" 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/array-no-close-01.toml: -------------------------------------------------------------------------------- 1 | [[albums] 2 | name = "Born to Run" 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/array-no-close-02.toml: -------------------------------------------------------------------------------- 1 | [[closing-bracket.missing] 2 | blaa=2 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/array-no-close-03.toml: -------------------------------------------------------------------------------- 1 | [[a 2 | [[b]] 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/array-no-close-04.toml: -------------------------------------------------------------------------------- 1 | [[a 2 | b = 2 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/bare-invalid-character-01.toml: -------------------------------------------------------------------------------- 1 | [!] 2 | k = 123 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/bare-invalid-character-02.toml: -------------------------------------------------------------------------------- 1 | [bare!key] 2 | k = 123 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/dot.toml: -------------------------------------------------------------------------------- 1 | [.] 2 | k = 1 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/dotdot.toml: -------------------------------------------------------------------------------- 1 | [..] 2 | k = 1 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/duplicate-key-01.toml: -------------------------------------------------------------------------------- 1 | [a] 2 | b = 1 3 | 4 | [a] 5 | c = 2 6 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/duplicate-key-02.toml: -------------------------------------------------------------------------------- 1 | [fruit] 2 | type = "apple" 3 | 4 | [fruit.type] 5 | apple = "yes" 6 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/duplicate-key-03.toml: -------------------------------------------------------------------------------- 1 | [fruit] 2 | apple.color = "red" 3 | 4 | [[fruit.apple]] 5 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/duplicate-key-04.toml: -------------------------------------------------------------------------------- 1 | [fruit] 2 | apple.color = "red" 3 | 4 | [fruit.apple] # INVALID 5 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/duplicate-key-06.toml: -------------------------------------------------------------------------------- 1 | [tbl] 2 | [[tbl]] 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/duplicate-key-07.toml: -------------------------------------------------------------------------------- 1 | [[tbl]] 2 | [tbl] 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/duplicate-key-08.toml: -------------------------------------------------------------------------------- 1 | [a] 2 | b = { c = 2, d = {} } 3 | [a.b] 4 | c = 2 5 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/duplicate-key-09.toml: -------------------------------------------------------------------------------- 1 | [a] 2 | foo="bar" 3 | [a.b] 4 | foo="bar" 5 | [a] 6 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/duplicate-key-10.toml: -------------------------------------------------------------------------------- 1 | a = [] 2 | [[a.b]] 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/empty-implicit-table.toml: -------------------------------------------------------------------------------- 1 | [naughty..naughty] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/empty.toml: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/equals-sign.toml: -------------------------------------------------------------------------------- 1 | [name=bad] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/llbrace.toml: -------------------------------------------------------------------------------- 1 | [ [table]] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/multiline-key-01.toml: -------------------------------------------------------------------------------- 1 | ["""tbl"""] 2 | k = 1 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/multiline-key-02.toml: -------------------------------------------------------------------------------- 1 | ['''tbl'''] 2 | k = 1 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/nested-brackets-close.toml: -------------------------------------------------------------------------------- 1 | [a]b] 2 | zyx = 42 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/nested-brackets-open.toml: -------------------------------------------------------------------------------- 1 | [a[b] 2 | zyx = 42 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/newline-01.toml: -------------------------------------------------------------------------------- 1 | [tbl 2 | ] 3 | k = 1 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/newline-02.toml: -------------------------------------------------------------------------------- 1 | ["tbl 2 | "] 3 | k = 1 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/newline-03.toml: -------------------------------------------------------------------------------- 1 | ["tbl" 2 | ] 3 | k = 1 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/newline-04.toml: -------------------------------------------------------------------------------- 1 | [tbl. 2 | ] 3 | k = 1 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/newline-05.toml: -------------------------------------------------------------------------------- 1 | [tbl 2 | .sub] 3 | k = 1 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/no-close-01.toml: -------------------------------------------------------------------------------- 1 | [where will it end 2 | name = value 3 | 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/no-close-02.toml: -------------------------------------------------------------------------------- 1 | [closing-bracket.missingö 2 | blaa=2 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/no-close-03.toml: -------------------------------------------------------------------------------- 1 | ["where will it end] 2 | name = value 3 | 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/no-close-04.toml: -------------------------------------------------------------------------------- 1 | [ 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/no-close-05.toml: -------------------------------------------------------------------------------- 1 | [fwfw.wafw 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/no-close-06.toml: -------------------------------------------------------------------------------- 1 | [a 2 | [b] 3 | [c 4 | [d] 5 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/no-close-07.toml: -------------------------------------------------------------------------------- 1 | ['] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/no-close-08.toml: -------------------------------------------------------------------------------- 1 | ['''] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/no-close-09.toml: -------------------------------------------------------------------------------- 1 | ["where will it end""] 2 | name = value 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/overwrite-bool-with-array.toml: -------------------------------------------------------------------------------- 1 | a=true 2 | [[a]] 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/overwrite-with-deep-table.toml: -------------------------------------------------------------------------------- 1 | a=1 2 | [a.b.c.d] 3 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/redefine-02.toml: -------------------------------------------------------------------------------- 1 | [t1] 2 | t2.t3.v = 0 3 | [t1.t2] 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/redefine-03.toml: -------------------------------------------------------------------------------- 1 | [t1] 2 | t2.t3.v = 0 3 | [t1.t2.t3] 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/rrbrace.toml: -------------------------------------------------------------------------------- 1 | [[table] ] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/super-twice.toml: -------------------------------------------------------------------------------- 1 | [a.b] 2 | [a] 3 | [a] 4 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/text-after-table.toml: -------------------------------------------------------------------------------- 1 | [error] this shouldn't be here 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/trailing-dot.toml: -------------------------------------------------------------------------------- 1 | [a.] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/whitespace.toml: -------------------------------------------------------------------------------- 1 | [invalid key] 2 | -------------------------------------------------------------------------------- /toml/testdata/invalid/table/with-pound.toml: -------------------------------------------------------------------------------- 1 | [key#group] 2 | answer = 42 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/bool.toml: -------------------------------------------------------------------------------- 1 | a = [true, false] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "thevoid": [[[[[]]]]] 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/empty.toml: -------------------------------------------------------------------------------- 1 | thevoid = [[[[[]]]]] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/hetergeneous.toml: -------------------------------------------------------------------------------- 1 | mixed = [[1, 2], ["a", "b"], [1.1, 2.1]] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/mixed-int-array.toml: -------------------------------------------------------------------------------- 1 | arrays-and-ints = [1, ["Arrays are not integers."]] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/mixed-int-float.toml: -------------------------------------------------------------------------------- 1 | ints-and-floats = [1, 1.1] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/mixed-int-string.toml: -------------------------------------------------------------------------------- 1 | strings-and-ints = ["hi", 42] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/nested-double.toml: -------------------------------------------------------------------------------- 1 | nest = [ 2 | [ 3 | ["a"], 4 | [1, 2, [3]] 5 | ] 6 | ] 7 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/nested-inline-table.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": [{ 3 | "b": {} 4 | }] 5 | } 6 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/nested-inline-table.toml: -------------------------------------------------------------------------------- 1 | a = [ { b = {} } ] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/nested.toml: -------------------------------------------------------------------------------- 1 | nest = [["a"], ["b"]] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/nospaces.toml: -------------------------------------------------------------------------------- 1 | ints = [1,2,3] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/string-quote-comma-2.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": [{"type": "string", "value": " \", "}] 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/string-quote-comma-2.toml: -------------------------------------------------------------------------------- 1 | title = [ " \", ",] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/string-quote-comma.toml: -------------------------------------------------------------------------------- 1 | title = [ 2 | "Client: \"XXXX\", Job: XXXX", 3 | "Code: XXXX" 4 | ] 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/string-with-comma-2.toml: -------------------------------------------------------------------------------- 1 | title = [ 2 | """Client: XXXX, 3 | Job: XXXX""", 4 | "Code: XXXX" 5 | ] 6 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/string-with-comma.toml: -------------------------------------------------------------------------------- 1 | title = [ 2 | "Client: XXXX, Job: XXXX", 3 | "Code: XXXX" 4 | ] 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/strings.toml: -------------------------------------------------------------------------------- 1 | string_array = [ "all", 'strings', """are the same""", '''type'''] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/array/table-array-string-backslash.toml: -------------------------------------------------------------------------------- 1 | foo = [ { bar="\"{{baz}}\""} ] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/bool/bool.toml: -------------------------------------------------------------------------------- 1 | t = true 2 | f = false 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/comment/at-eof.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": {"type": "string", "value": "value"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/comment/at-eof2.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": {"type": "string", "value": "value"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/comment/noeol.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/comment/noeol.toml: -------------------------------------------------------------------------------- 1 | # single comment without any eol characters -------------------------------------------------------------------------------- /toml/testdata/valid/comment/nonascii.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/comment/nonascii.toml: -------------------------------------------------------------------------------- 1 | # ~ € ÿ ퟿  ￿ 𐀀 􏿿 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/datetime/invalid-date-in-string.json: -------------------------------------------------------------------------------- 1 | { 2 | "s": {"type": "string", "value": "2020-01-01x"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/datetime/invalid-date-in-string.toml: -------------------------------------------------------------------------------- 1 | s = '2020-01-01x' 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/datetime/local-date.json: -------------------------------------------------------------------------------- 1 | { 2 | "bestdayever": {"type": "date-local", "value": "1987-07-05"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/datetime/local-date.toml: -------------------------------------------------------------------------------- 1 | bestdayever = 1987-07-05 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/datetime/local-time.toml: -------------------------------------------------------------------------------- 1 | besttimeever = 17:45:00 2 | milliseconds = 10:32:00.555 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/empty-crlf.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/empty-crlf.toml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/empty-lf.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/empty-lf.toml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/empty-nothing.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/empty-space.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/empty-space.toml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /toml/testdata/valid/empty-tab.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/empty-tab.toml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /toml/testdata/valid/float/long.toml: -------------------------------------------------------------------------------- 1 | longpi = 3.141592653589793 2 | neglongpi = -3.141592653589793 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/float/underscore.toml: -------------------------------------------------------------------------------- 1 | before = 3_141.5927 2 | after = 3141.592_7 3 | exponent = 3e1_4 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/implicit-and-explicit-after.toml: -------------------------------------------------------------------------------- 1 | [a.b.c] 2 | answer = 42 3 | 4 | [a] 5 | better = 43 6 | -------------------------------------------------------------------------------- /toml/testdata/valid/implicit-and-explicit-before.toml: -------------------------------------------------------------------------------- 1 | [a] 2 | better = 43 3 | 4 | [a.b.c] 5 | answer = 42 6 | -------------------------------------------------------------------------------- /toml/testdata/valid/implicit-groups.toml: -------------------------------------------------------------------------------- 1 | [a.b.c] 2 | answer = 42 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/inline-table/array-02.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": {"a": []} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/inline-table/array-03.toml: -------------------------------------------------------------------------------- 1 | b = { a = [ 2 | 1, 3 | 2, 4 | ], b = [ 5 | 3, 6 | 4, 7 | ]} 8 | -------------------------------------------------------------------------------- /toml/testdata/valid/inline-table/bool.toml: -------------------------------------------------------------------------------- 1 | a = {a = true, b = false} 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/inline-table/end-in-bool.toml: -------------------------------------------------------------------------------- 1 | black = { python=">3.6", version=">=18.9b0", allow_prereleases=true } 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/inline-table/key-dotted-2.toml: -------------------------------------------------------------------------------- 1 | many.dots.here.dot.dot.dot = {a.b.c = 1, a.b.d = 2} 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/inline-table/key-dotted-3.toml: -------------------------------------------------------------------------------- 1 | [tbl] 2 | a.b.c = {d.e=1} 3 | 4 | [tbl.x] 5 | a.b.c = {d.e=1} 6 | -------------------------------------------------------------------------------- /toml/testdata/valid/inline-table/key-dotted-6.toml: -------------------------------------------------------------------------------- 1 | top.dot.dot = [ 2 | {dot.dot.dot = 1}, 3 | {dot.dot.dot = 2}, 4 | ] 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/inline-table/key-dotted-7.toml: -------------------------------------------------------------------------------- 1 | arr = [ 2 | {a.b = [{c.d = 1}]} 3 | ] 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/integer/integer.toml: -------------------------------------------------------------------------------- 1 | answer = 42 2 | posanswer = +42 3 | neganswer = -42 4 | zero = 0 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/integer/underscore.toml: -------------------------------------------------------------------------------- 1 | kilo = 1_000 2 | x = 1_1_1_1 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/dotted-1.toml: -------------------------------------------------------------------------------- 1 | name.first = "Arthur" 2 | "name".'last' = "Dent" 3 | 4 | many.dots.dot.dot.dot = 42 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/dotted-empty.toml: -------------------------------------------------------------------------------- 1 | ''.x = "empty.x" 2 | x."" = "x.empty" 3 | [a] 4 | "".'' = "empty.empty" 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/empty-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "": {"type": "string", "value": "blank"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/empty-1.toml: -------------------------------------------------------------------------------- 1 | "" = "blank" 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/empty-2.json: -------------------------------------------------------------------------------- 1 | { 2 | "": {"type": "string", "value": "blank"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/empty-2.toml: -------------------------------------------------------------------------------- 1 | '' = "blank" 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/empty-3.json: -------------------------------------------------------------------------------- 1 | { 2 | "": {"type": "integer", "value": "0"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/empty-3.toml: -------------------------------------------------------------------------------- 1 | ''=0 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/equals-nospace.json: -------------------------------------------------------------------------------- 1 | { 2 | "answer": {"type": "integer", "value": "42"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/equals-nospace.toml: -------------------------------------------------------------------------------- 1 | answer=42 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-01.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": {"type": "bool", "value": "true"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-01.toml: -------------------------------------------------------------------------------- 1 | 1 = true 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-02.json: -------------------------------------------------------------------------------- 1 | { 2 | "1": { 3 | "2": {"type": "bool", "value": "true"} 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-02.toml: -------------------------------------------------------------------------------- 1 | 1.2 = true 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-03.json: -------------------------------------------------------------------------------- 1 | { 2 | "0123": {"type": "bool", "value": "true"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-03.toml: -------------------------------------------------------------------------------- 1 | 0123 = true 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-04.toml: -------------------------------------------------------------------------------- 1 | 01.23 = true 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-05.toml: -------------------------------------------------------------------------------- 1 | 23.01 = true 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-06.json: -------------------------------------------------------------------------------- 1 | { 2 | "-1": {"type": "bool", "value": "true"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-06.toml: -------------------------------------------------------------------------------- 1 | -1 = true 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-07.json: -------------------------------------------------------------------------------- 1 | { 2 | "-01": {"type": "bool", "value": "true"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-07.toml: -------------------------------------------------------------------------------- 1 | -01 = true 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/numeric-08.toml: -------------------------------------------------------------------------------- 1 | 1 = 'one' 2 | 01 = 'zero one' 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/special-chars.toml: -------------------------------------------------------------------------------- 1 | "=~!@$^&*()_+-`1234567890[]|/?><.,;:'=" = 1 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/zero.json: -------------------------------------------------------------------------------- 1 | { 2 | "0": {"type": "integer", "value": "0"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/key/zero.toml: -------------------------------------------------------------------------------- 1 | 0=0 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/newline-crlf.toml: -------------------------------------------------------------------------------- 1 | os = "DOS" 2 | newline = "crlf" 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/newline-lf.toml: -------------------------------------------------------------------------------- 1 | os = "unix" 2 | newline = "lf" 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/boolean-0.toml: -------------------------------------------------------------------------------- 1 | bool1 = true 2 | bool2 = false 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/float-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "flt8": {"type": "float", "value": "224617.445991228"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/float-1.toml: -------------------------------------------------------------------------------- 1 | flt8 = 224_617.445_991_228 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/integer-0.toml: -------------------------------------------------------------------------------- 1 | int1 = +99 2 | int2 = 42 3 | int3 = 0 4 | int4 = -17 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/key-value-pair-0.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": {"type": "string", "value": "value"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/key-value-pair-0.toml: -------------------------------------------------------------------------------- 1 | key = "value" 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/keys-0.toml: -------------------------------------------------------------------------------- 1 | key = "value" 2 | bare_key = "value" 3 | bare-key = "value" 4 | 1234 = "value" 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/keys-7.toml: -------------------------------------------------------------------------------- 1 | 3.14159 = "pi" 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/local-date-0.json: -------------------------------------------------------------------------------- 1 | { 2 | "ld1": {"type": "date-local", "value": "1979-05-27"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/local-date-0.toml: -------------------------------------------------------------------------------- 1 | ld1 = 1979-05-27 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/local-date-time-0.toml: -------------------------------------------------------------------------------- 1 | ldt1 = 1979-05-27T07:32:00 2 | ldt2 = 1979-05-27T00:32:00.999 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/local-time-0.toml: -------------------------------------------------------------------------------- 1 | lt1 = 07:32:00 2 | lt2 = 00:32:00.999 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/offset-date-time-1.toml: -------------------------------------------------------------------------------- 1 | odt4 = 1979-05-27 07:32:00Z 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/string-0.toml: -------------------------------------------------------------------------------- 1 | str = "I'm a string. \"You can quote me\". Name\tJos\u00E9\nLocation\tSF." 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/string-1.toml: -------------------------------------------------------------------------------- 1 | str1 = """ 2 | Roses are red 3 | Violets are blue""" 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/table-0.json: -------------------------------------------------------------------------------- 1 | { 2 | "table": {} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/table-0.toml: -------------------------------------------------------------------------------- 1 | [table] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/table-2.toml: -------------------------------------------------------------------------------- 1 | [dog."tater.man"] 2 | type.name = "pug" 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/table-5.toml: -------------------------------------------------------------------------------- 1 | # VALID BUT DISCOURAGED 2 | [fruit.apple] 3 | [animal] 4 | [fruit.orange] 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.0.0/table-6.toml: -------------------------------------------------------------------------------- 1 | # RECOMMENDED 2 | [fruit.apple] 3 | [fruit.orange] 4 | [animal] 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-1.json: -------------------------------------------------------------------------------- 1 | { 2 | "key": {"type": "string", "value": "value"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-1.toml: -------------------------------------------------------------------------------- 1 | key = "value" 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-11.toml: -------------------------------------------------------------------------------- 1 | 3.14159 = "pi" 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-12.toml: -------------------------------------------------------------------------------- 1 | str = "I'm a string. \"You can quote me\". Name\tJos\xE9\nLocation\tSF." 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-13.toml: -------------------------------------------------------------------------------- 1 | str1 = """ 2 | Roses are red 3 | Violets are blue""" 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-20.toml: -------------------------------------------------------------------------------- 1 | int1 = +99 2 | int2 = 42 3 | int3 = 0 4 | int4 = -17 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-24.json: -------------------------------------------------------------------------------- 1 | { 2 | "flt8": {"type": "float", "value": "224617.445991228"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-24.toml: -------------------------------------------------------------------------------- 1 | flt8 = 224_617.445_991_228 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-26.toml: -------------------------------------------------------------------------------- 1 | bool1 = true 2 | bool2 = false 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-28.json: -------------------------------------------------------------------------------- 1 | { 2 | "odt4": {"type": "datetime", "value": "1979-05-27T07:32:00Z"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-28.toml: -------------------------------------------------------------------------------- 1 | odt4 = 1979-05-27 07:32:00Z 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-29.toml: -------------------------------------------------------------------------------- 1 | odt5 = 1979-05-27 07:32Z 2 | odt6 = 1979-05-27 07:32-07:00 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-3.toml: -------------------------------------------------------------------------------- 1 | key = "value" 2 | bare_key = "value" 3 | bare-key = "value" 4 | 1234 = "value" 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-31.toml: -------------------------------------------------------------------------------- 1 | ldt3 = 1979-05-27T07:32 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-32.json: -------------------------------------------------------------------------------- 1 | { 2 | "ld1": {"type": "date-local", "value": "1979-05-27"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-32.toml: -------------------------------------------------------------------------------- 1 | ld1 = 1979-05-27 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-33.toml: -------------------------------------------------------------------------------- 1 | lt1 = 07:32:00 2 | lt2 = 00:32:00.5 3 | lt3 = 00:32:00.999 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-34.json: -------------------------------------------------------------------------------- 1 | { 2 | "lt3": {"type": "time-local", "value": "07:32:00"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-34.toml: -------------------------------------------------------------------------------- 1 | lt3 = 07:32 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-37.json: -------------------------------------------------------------------------------- 1 | { 2 | "table": {} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-37.toml: -------------------------------------------------------------------------------- 1 | [table] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-39.toml: -------------------------------------------------------------------------------- 1 | [dog."tater.man"] 2 | type.name = "pug" 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-42.toml: -------------------------------------------------------------------------------- 1 | # VALID BUT DISCOURAGED 2 | [fruit.apple] 3 | [animal] 4 | [fruit.orange] 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-43.toml: -------------------------------------------------------------------------------- 1 | # RECOMMENDED 2 | [fruit.apple] 3 | [fruit.orange] 4 | [animal] 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-49.toml: -------------------------------------------------------------------------------- 1 | [product] 2 | type = { name = "Nail" } 3 | # type.edible = false # INVALID 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/spec-1.1.0/common-50.toml: -------------------------------------------------------------------------------- 1 | [product] 2 | type.name = "Nail" 3 | # type = { edible = false } # INVALID 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/basic-escape-01.json: -------------------------------------------------------------------------------- 1 | { 2 | "test": {"type": "string", "value": "\"one\""} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/basic-escape-01.toml: -------------------------------------------------------------------------------- 1 | # Escape " 2 | test = "\"one\"" 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/basic-escape-02.json: -------------------------------------------------------------------------------- 1 | { 2 | "test": {"type": "string", "value": "\\\"one"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/basic-escape-02.toml: -------------------------------------------------------------------------------- 1 | # Escape \ and then " 2 | test = "\\\"one" 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/basic-escape-03.json: -------------------------------------------------------------------------------- 1 | { 2 | "test": {"type": "string", "value": "\\\\\\\\\"one"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/basic-escape-03.toml: -------------------------------------------------------------------------------- 1 | # Escape \ four times and then " 2 | test = "\\\\\\\\\"one" 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "answer": {"type": "string", "value": ""} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/empty.toml: -------------------------------------------------------------------------------- 1 | answer = "" 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/ends-in-whitespace-escape.toml: -------------------------------------------------------------------------------- 1 | beee = """ 2 | heeee 3 | geeee\ 4 | 5 | 6 | """ 7 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/escape-esc.toml: -------------------------------------------------------------------------------- 1 | esc = "\e There is no escape! \e" 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/escaped-escape.json: -------------------------------------------------------------------------------- 1 | { 2 | "answer": {"type": "string", "value": "\\x64"} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/escaped-escape.toml: -------------------------------------------------------------------------------- 1 | answer = "\\x64" 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/multiline-escaped-crlf.json: -------------------------------------------------------------------------------- 1 | { 2 | "0": {"type": "string", "value": ""} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/raw-empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "empty": {"type": "string", "value": ""} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/raw-empty.toml: -------------------------------------------------------------------------------- 1 | empty = '' 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/string/simple.toml: -------------------------------------------------------------------------------- 1 | answer = "You are not drinking enough whisky." 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/array-empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": [{}] 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/array-empty.toml: -------------------------------------------------------------------------------- 1 | [[a]] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/array-implicit-and-explicit-after.toml: -------------------------------------------------------------------------------- 1 | [[a.b]] 2 | x = 1 3 | 4 | [a] 5 | y = 2 6 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/array-implicit.toml: -------------------------------------------------------------------------------- 1 | [[albums.songs]] 2 | name = "Glory Days" 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/array-one.toml: -------------------------------------------------------------------------------- 1 | [[people]] 2 | first_name = "Bruce" 3 | last_name = "Springsteen" 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/empty-name.toml: -------------------------------------------------------------------------------- 1 | [''] 2 | x = 1 3 | 4 | ["".a] 5 | x = 2 6 | 7 | [a.''] 8 | x = 3 9 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": {} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/empty.toml: -------------------------------------------------------------------------------- 1 | [a] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/keyword.toml: -------------------------------------------------------------------------------- 1 | [true] 2 | 3 | [false] 4 | 5 | [inf] 6 | 7 | [nan] 8 | 9 | 10 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/no-eol.json: -------------------------------------------------------------------------------- 1 | { 2 | "table": {} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/no-eol.toml: -------------------------------------------------------------------------------- 1 | [table] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/sub-empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": { 3 | "b": {} 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/sub-empty.toml: -------------------------------------------------------------------------------- 1 | [a] 2 | [a.b] 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/whitespace.json: -------------------------------------------------------------------------------- 1 | { 2 | "valid key": {} 3 | } 4 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/whitespace.toml: -------------------------------------------------------------------------------- 1 | ["valid key"] 2 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/with-literal-string.toml: -------------------------------------------------------------------------------- 1 | ['a'] 2 | [a.'"b"'] 3 | [a.'"b"'.c] 4 | answer = 42 5 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/with-pound.toml: -------------------------------------------------------------------------------- 1 | ["key#group"] 2 | answer = 42 3 | -------------------------------------------------------------------------------- /toml/testdata/valid/table/with-single-quotes.toml: -------------------------------------------------------------------------------- 1 | ['a'] 2 | [a.'b'] 3 | [a.'b'.c] 4 | answer = 42 5 | --------------------------------------------------------------------------------