Skip to content

Add stream-to-tree functionality#10

Open
pfyra wants to merge 4 commits intorobohack:bsdmakefrom
pfyra:bsdmake
Open

Add stream-to-tree functionality#10
pfyra wants to merge 4 commits intorobohack:bsdmakefrom
pfyra:bsdmake

Conversation

@pfyra
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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