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

json: fix non streamlined json emitter #281

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

bapt
Copy link
Collaborator

@bapt bapt commented Feb 3, 2024

When the non streamline editer is about to write an element, if uses a dedicated function which deals with indentation and decorations, so when calling start_array or start_object we call it as if it was a first level of object to avoid passing through the indentation and decoration part which has been added recently to fix streamlined emitter.

When the non streamline editer is about to write an element, if uses
a dedicated function which deals with indentation and decorations,
so when calling start_array or start_object we call it as if it was a
first level of object to avoid passing through the indentation and
decoration part which has been added recently to fix streamlined
emitter.
@vstakhov vstakhov merged commit 9652aa3 into vstakhov:master Feb 6, 2024
4 checks passed
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.

None yet

2 participants