What's next for jsoncons #580
Unanswered
danielaparker
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently working on:
Revisit using std::from_chars for string to double if supported, while addressing std::from_chars parsing fails tests on Windows.
Add
lossless_bignumoption. Iftrue, reads out-of-range floating point numbers as strings with tagsemantic_tag::bigdec, otherwise (current behavior) as negative or positive infinity. Defaults totrue.Planned 1.x enhancements:
A
jsoncons/viewsnamespace including a read-onlyjson_viewon ajson_containertype that allows for high performance parsing.Extend support throughout the library for stateful allocators.
Things we're currently thinking about, and experimenting with:
Define a few macros in the source to allow users to disable features they don’t need, such as reading or writing,
json_type_traitssupport, UTF-8 validation, or checking for duplicates, to slim down the library footprint. Or to enable features such as fast floating-pointer conversion.Define the requirements that are needed for a type to satisfy each jsoncons extension's expectation for its
Jsontemplate parameter. This will open up the way to allowing types other thanbasic_json.On the horizon:
A specialized pull parser to more efficiently support json_cursor (currently all cursers repurpose our push parsers, pausing after each event received).
More uniform library support for non-string keys
Beta Was this translation helpful? Give feedback.
All reactions