Skip to content
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

Add stream-to-tree functionality #10

Open
wants to merge 4 commits into
base: bsdmake
Choose a base branch
from
Open

Conversation

pfyra
Copy link

@pfyra pfyra commented Aug 11, 2023

There is currently functionality to parse json byte-by-byte and parse full json string to json tree. This PR adds a merge of this functionality to it is possible to parse byte-by-byte and get a complete json tree when parsing is finished.

Copy link
Owner

@robohack robohack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks interesting!

I'll have to think about how it might affect the existing API and whether it might need a version bump or not.

There should probably be some tests for the new functionality as well.

@pfyra
Copy link
Author

pfyra commented Oct 2, 2023

I haven't really digged into the tests, but it looks to me like all tests available today could be run with this parsing as well, if a new flag is added to yajl_tests.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants