You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Achieves a **100% score** in the [Native JSON Benchmark](https://github.com/miloyip/nativejson-benchmark) conformance tests.
17
+
* Provides **SAX** and **DOM** APIs.
18
+
* Construction of objects and arrays via `std::initializer_list`.
19
+
* Allows construction of JSON value objects from arbitrary *user-defined types* with specialised traits class template.
17
20
* Numeric values are stored as `int64_t`, `uint64_t` or `double` internally.
18
21
* Standard containers `std::string` for JSON strings, `std::vector< tao::json::value >` for JSON arrays, and `std::map< std::string, tao::json::value >` for JSON objects.
19
22
* No memory allocations by the JSON value class itself (the wrapped standard containers perform their memory allocations normally).
20
23
* Indirect JSON values via non-owning C++ raw pointers for object sharing.
21
-
* Construction of objects and arrays via `std::initializer_list`.
22
-
* Allows construction of JSON value objects from arbitrary user-defined data-types with specialised traits class template.
23
24
* C++11 literal operator for JSON values.
24
25
25
26
## Status
26
27
27
-
The core JSON value class is implemented and working.
28
-
29
-
The conversions from and to JSON string representation are finished and achieve a 100% score in the [Native JSON Benchmark](https://github.com/miloyip/nativejson-benchmark) conformance tests. This also serves as a fully functional real-world example for the [Parsing Expression Grammar Template Library (PEGTL)](https://github.com/ColinH/PEGTL), which is used for parsing JSON string representations.
28
+
The core JSON value class is implemented and working. The conversions from and to JSON string representation via a SAX interface are finished. This also serves as a fully functional real-world example for the [Parsing Expression Grammar Template Library (PEGTL)](https://github.com/ColinH/PEGTL), which is used for parsing JSON string representations.
30
29
31
30
Some parts of the API are still under discussion and development and might change and/or be extended before the first release.
0 commit comments