daw_json_link
daw_json_link copied to clipboard
Fast, convenient JSON serialization and parsing in C++
Allow querying and returning a range of elements as either `json_value` or parsed. This could then be extended to returning a `vector` or `vector`.
JSON Benchmark If you want to benchmark your code against more JSON libraies: https://github.com/Loki-Astari/JsonBenchmark See the section: https://github.com/Loki-Astari/JsonBenchmark#adding-a-new-json-library
Current implementation has inaccurate number parsing. [How to Read Floating Point Numbers Accurately by William D. Clinger](https://www.researchgate.net/publication/2295884_How_to_Read_Floating_Point_Numbers_Accurately) - a classic paper on number parsing.
Name of mapping : TBD Purpose: To provide a json_value like structure over the unmapped members in a class. Because we know the mapped members and their locations, that location_info...
Investigate allowing the parsing of submembers. e.g ```json { "a": { "b": 5 } } ``` The transformation would be potentially lossy Possible mapping syntax ```cpp json_submember ``` Where `"b"`...
Investigate adding optimized paths for arrays of number, bool, string. This should be doable as seen in other JSON libraries that SIMDify these things globally. But because we know what...
Provide a mechanism to output arrays 1 element at a time without creating an iterator. Maybe something like ```cpp auto hnd = daw::json::array_start( output_Iterator ); hnd.to_json( value0 ); hnd.to_json( value1...
I have no investigated the float parsing in daw_json_link, but I wanted to make sure you were aware that we have packaged the fast number parsing routine from the simdjson...