Add `escaped_key` method to `ondemand::field`

Close #2149.

In this PR, `escaped_key()` is added to `ondemand::field` to retrieve the unproccessed escaped key without the double quote.

Feel free to comment since I'm not sure if there's a better way to implement it.

<!--
Our tests check whether you have introduced trailing white space. If such a test fails, please check the "artifacts button" above, which if you click it gives a link to a downloadable file to help you identify the issue. You can also run scripts/remove_trailing_whitespace.sh locally if you have a bash shell and the sed command available on your system.

If you plan to contribute to simdjson, please read our

CONTRIBUTING guide: https://github.com/simdjson/simdjson/blob/master/CONTRIBUTING.md and our
HACKING guide: https://github.com/simdjson/simdjson/blob/master/HACKING.md
-->
{"label": "simdjson:master", "ref": "master", "sha": "e1c6a778f8800787bd6846de3f42485f39f558bb"}
Hi, I've been exploring simdjson's API, particularly focusing on iterating over JSON objects and accessing their keys. From my understanding and current experimentation, it appears there are several methods to access keys but with certain limitations:

1. `field::key()` returns a `simdjson::ondemand::raw_json_string`, which provides the raw key but not in a directly usable `std::string_view` format without further processing.
2. `field::unescaped_key()` does return an unescaped key as `std::string_view`, which is great but involves the overhead of unescaping.
3. We also have access to `key_raw_json_token`, which retains the quotes.

Considering the efficiency and ease of use of `std::string_view` in C++ for string operations, I'm wondering why there isn't a method like `field::key_sv()` (or any similarly named method) that directly returns a `std::string_view` of the key, akin to `field::key()` but without the need to deal with raw_json_string or token specifics. This addition would streamline operations that can benefit from the lightweight and efficient nature of `std::string_view`, especially in scenarios where string manipulation or comparisons are frequent.

Is there a technical or design rationale for this absence, or could this be considered for future implementation? Such a feature would significantly enhance usability for developers focusing on performance-critical applications.


Why we do not have a std::string_view version for the key() of field (not key_raw_json_token)?
diff --git a/include/simdjson/generic/ondemand/field-inl.h b/include/simdjson/generic/ondemand/field-inl.h
index 25021e0b2e..41e7dc54d8 100644
--- a/include/simdjson/generic/ondemand/field-inl.h
+++ b/include/simdjson/generic/ondemand/field-inl.h
@@ -49,6 +49,13 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept {
   return std::string_view(reinterpret_cast<const char*>(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1);
 }
 
+simdjson_inline std::string_view field::escaped_key() const noexcept {
+  SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us.
+  auto end_quote = second.iter._json_iter->token.peek(-1);
+  while(*end_quote != '"') end_quote--;
+  return std::string_view(reinterpret_cast<const char*>(first.buf), end_quote - first.buf);
+}
+
 simdjson_inline value &field::value() & noexcept {
   return second;
 }
@@ -88,6 +95,11 @@ simdjson_inline simdjson_result<std::string_view> simdjson_result<SIMDJSON_IMPLE
   return first.key_raw_json_token();
 }
 
+simdjson_inline simdjson_result<std::string_view> simdjson_result<SIMDJSON_IMPLEMENTATION::ondemand::field>::escaped_key() noexcept {
+  if (error()) { return error(); }
+  return first.escaped_key();
+}
+
 simdjson_inline simdjson_result<std::string_view> simdjson_result<SIMDJSON_IMPLEMENTATION::ondemand::field>::unescaped_key(bool allow_replacement) noexcept {
   if (error()) { return error(); }
   return first.unescaped_key(allow_replacement);
diff --git a/include/simdjson/generic/ondemand/field.h b/include/simdjson/generic/ondemand/field.h
index 082f401bb2..dbd6764403 100644
--- a/include/simdjson/generic/ondemand/field.h
+++ b/include/simdjson/generic/ondemand/field.h
@@ -47,6 +47,11 @@ class field : public std::pair<raw_json_string, value> {
    * some spaces after the last quote.
    */
   simdjson_inline std::string_view key_raw_json_token() const noexcept;
+  /**
+   * Get the key as a string_view. This does not include the quotes and
+   * the string is escaped as a unprocessed key.
+   */
+  simdjson_inline std::string_view escaped_key() const noexcept;
   /**
    * Get the field value.
    */
@@ -80,6 +85,7 @@ struct simdjson_result<SIMDJSON_IMPLEMENTATION::ondemand::field> : public SIMDJS
   simdjson_inline simdjson_result<std::string_view> unescaped_key(bool allow_replacement = false) noexcept;
   simdjson_inline simdjson_result<SIMDJSON_IMPLEMENTATION::ondemand::raw_json_string> key() noexcept;
   simdjson_inline simdjson_result<std::string_view> key_raw_json_token() noexcept;
+  simdjson_inline simdjson_result<std::string_view> escaped_key() noexcept;
   simdjson_inline simdjson_result<SIMDJSON_IMPLEMENTATION::ondemand::value> value() noexcept;
 };
 

diff --git a/tests/ondemand/ondemand_key_string_tests.cpp b/tests/ondemand/ondemand_key_string_tests.cpp
index 7677826e8f..b059b58ae6 100644
--- a/tests/ondemand/ondemand_key_string_tests.cpp
+++ b/tests/ondemand/ondemand_key_string_tests.cpp
@@ -17,11 +17,26 @@ namespace key_string_tests {
     }
     return true;
   }
+
+  bool parser_escaped_key() {
+    TEST_START();
+    ondemand::parser parser;
+    const padded_string json = "{ \"1\": \"1\", \"2\"   : \"2\", \"3\" \t : \"3\", \"abc\"\n\t\n: \"abc\", \"\\u0075\": \"\\\\u0075\" }"_padded;
+    auto doc = parser.iterate(json);
+    for(auto field : doc.get_object())  {
+      std::string_view keyv = field.escaped_key();
+      std::string_view valuev = field.value();
+      if(keyv != valuev) { return false; }
+    }
+    return true;
+  }
+
 #endif // SIMDJSON_EXCEPTIONS
   bool run() {
     return
 #if SIMDJSON_EXCEPTIONS
       parser_key_value() &&
+      parser_escaped_key() &&
 #endif // SIMDJSON_EXCEPTIONS
       true;
   }

{"readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_to_string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_location_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_iterate_many_csv": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "prettify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_assert_out_of_order_values": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_path_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_in_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}}
{"readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_to_string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_location_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_iterate_many_csv": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "prettify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_assert_out_of_order_values": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_path_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_in_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}}
{"passed_count": 99, "failed_count": 0, "skipped_count": 0, "passed_tests": ["ondemand_to_string", "ondemand_array_tests", "unicode_tests", "readme_examples_will_fail_with_exceptions_off", "ondemand_twitter_tests", "document_stream_tests", "random_string_number_tests", "dangling_parser_parse_uint8_should_not_compile", "quickstart_ondemand11", "iterate_string_view_should_not_compile", "ondemand_misc_tests", "minefieldcheck", "ondemand_number_tests", "dangling_parser_parse_padstring_should_compile", "ondemand_array_error_tests", "quickstart_ondemand14", "ondemand_readme_examples", "quickstart14", "ondemand_log_tests", "dangling_parser_parse_uchar_should_compile", "iterate_char_star_should_compile", "readme_examples_noexceptions", "ondemand_json_pointer_tests", "dangling_parser_parse_uint8_should_compile", "checkimplementation", "quickstart_noexceptions11", "ondemand_compilation_tests", "avoid_stdout", "first_second_access_should_compile", "unsafe_parse_many_should_compile", "avoid_cout", "ondemand_active_tests", "example_compiletest_should_compile", "dangling_parser_parse_uchar_should_not_compile", "jsoncheck", "ondemand_error_tests", "pointercheck", "ondemand_object_tests", "quickstart_ondemand_noexceptions", "ondemand_iterate_many_csv", "quickstart11", "quickstart", "prettify_tests", "testjson2json", "bad_array_count_should_compile", "readme_examples_noexceptions11", "ondemand_tostring_tests", "unsafe_parse_many_should_not_compile", "dangling_parser_parse_stdstring_should_compile", "iterate_string_view_should_compile", "amalgamate_demo", "dangling_parser_parse_padstring_should_not_compile", "ondemand_object_error_tests", "readme_examples11", "iterate_temporary_buffer_should_not_compile", "quickstart_ondemand", "ondemand_scalar_tests", "ondemand_error_location_tests", "readme_examples", "dangling_parser_load_should_not_compile", "ondemand_wrong_type_error_tests", "ondemand_ordering_tests", "iterate_char_star_should_not_compile", "stringparsingcheck", "basictests", "first_second_access_should_not_compile", "quickstart2_noexceptions", "ondemand_document_stream_tests", "quickstart2_noexceptions11", "errortests", "avoid_cerr", "trivially_copyable_test", "avoid_printf", "ondemand_parse_api_tests", "simdjson_force_implementation_error", "parse_many_test", "ondemand_log_error_tests", "avoid_stderr", "extracting_values_example", "simdjson-singleheader", "dangling_parser_parse_stdstring_should_not_compile", "integer_tests", "minify_tests", "document_tests", "example_compiletest_should_not_compile", "padded_string_tests", "json2json", "ondemand_assert_out_of_order_values", "ondemand_key_string_tests", "avoid_abort", "ondemand_json_path_tests", "ondemand_number_in_string_tests", "quickstart_ondemand_noexceptions11", "dangling_parser_load_should_compile", "numberparsingcheck", "quickstart_noexceptions", "amalgamate_demo_direct_from_repository", "iterate_temporary_buffer_should_compile", "bad_array_count_should_not_compile"], "failed_tests": [], "skipped_tests": []}
{"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}
{"passed_count": 99, "failed_count": 0, "skipped_count": 0, "passed_tests": ["ondemand_to_string", "ondemand_array_tests", "unicode_tests", "readme_examples_will_fail_with_exceptions_off", "ondemand_twitter_tests", "document_stream_tests", "random_string_number_tests", "dangling_parser_parse_uint8_should_not_compile", "quickstart_ondemand11", "iterate_string_view_should_not_compile", "ondemand_misc_tests", "minefieldcheck", "ondemand_number_tests", "dangling_parser_parse_padstring_should_compile", "ondemand_array_error_tests", "quickstart_ondemand14", "ondemand_readme_examples", "quickstart14", "ondemand_log_tests", "dangling_parser_parse_uchar_should_compile", "iterate_char_star_should_compile", "readme_examples_noexceptions", "ondemand_json_pointer_tests", "dangling_parser_parse_uint8_should_compile", "checkimplementation", "quickstart_noexceptions11", "ondemand_compilation_tests", "avoid_stdout", "first_second_access_should_compile", "unsafe_parse_many_should_compile", "avoid_cout", "ondemand_active_tests", "example_compiletest_should_compile", "dangling_parser_parse_uchar_should_not_compile", "jsoncheck", "ondemand_error_tests", "pointercheck", "ondemand_object_tests", "quickstart_ondemand_noexceptions", "ondemand_iterate_many_csv", "quickstart11", "quickstart", "prettify_tests", "testjson2json", "bad_array_count_should_compile", "readme_examples_noexceptions11", "ondemand_tostring_tests", "unsafe_parse_many_should_not_compile", "dangling_parser_parse_stdstring_should_compile", "iterate_string_view_should_compile", "amalgamate_demo", "dangling_parser_parse_padstring_should_not_compile", "ondemand_object_error_tests", "readme_examples11", "iterate_temporary_buffer_should_not_compile", "quickstart_ondemand", "ondemand_scalar_tests", "ondemand_error_location_tests", "readme_examples", "dangling_parser_load_should_not_compile", "ondemand_wrong_type_error_tests", "ondemand_ordering_tests", "iterate_char_star_should_not_compile", "stringparsingcheck", "basictests", "first_second_access_should_not_compile", "quickstart2_noexceptions", "ondemand_document_stream_tests", "quickstart2_noexceptions11", "errortests", "avoid_cerr", "trivially_copyable_test", "avoid_printf", "ondemand_parse_api_tests", "simdjson_force_implementation_error", "parse_many_test", "ondemand_log_error_tests", "avoid_stderr", "extracting_values_example", "simdjson-singleheader", "dangling_parser_parse_stdstring_should_not_compile", "integer_tests", "minify_tests", "document_tests", "example_compiletest_should_not_compile", "padded_string_tests", "json2json", "ondemand_assert_out_of_order_values", "ondemand_key_string_tests", "avoid_abort", "ondemand_json_path_tests", "ondemand_number_in_string_tests", "quickstart_ondemand_noexceptions11", "dangling_parser_load_should_compile", "numberparsingcheck", "quickstart_noexceptions", "amalgamate_demo_direct_from_repository", "iterate_temporary_buffer_should_compile", "bad_array_count_should_not_compile"], "failed_tests": [], "skipped_tests": []}