Skip to content

feat(): adds ArrayIndex event #34

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

scott-wyatt
Copy link

- Announcing that there is a new Array index allows streamers to partition values at sizes.
- This allows the stream to buffer the next value into a string so that it can be passed to any other parser or whatever
Uses an absolute position to handle the offset and cursor
@scott-wyatt
Copy link
Author

scott-wyatt commented Apr 21, 2025

@Tpt, I ran cargo fmt on this before I realized there wasn't any default formatting. So if you merge a .rustfmt.toml into the main branch, I'll gladly fix this PR and separate it into two different PRs. One for ArrayIndex event, and one for drain next value.

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.

JsonEvent::ArrayIndex
1 participant