-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SAX-like parsing and writing #33
Comments
I do have plans to add a streaming or SAX API, maybe in version 0.5 or 0.6. |
great --- thanks |
@zhoufei1 Please open a new issue. |
@ibireme hey, how is the streaming API coming along? That's the feature we're waiting for to start using this library! |
What is the progress of supporting SAX api? @ibireme |
|
No progress yet, I've tried to design some APIs but they seem hard to use. |
Is your feature request related to a problem? Please describe.
The library requires loading into its own data structure when reading and building a data structure when writing.
This incurs some overhead if one wants to just load or save a custom data structure.
Describe the solution you'd like
It would be good to have a direct interface to the low-level parser, maybe in terms of callbacks for reading. For writing, just exposing a simple API to format the various JSON elements might be good.
Describe alternatives you've considered
Right now, one parses the data into the
yyjson
document and then reads from it.The text was updated successfully, but these errors were encountered: