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

Raw JSON string element #32

Open
Chlumsky opened this issue Mar 6, 2023 · 0 comments
Open

Raw JSON string element #32

Chlumsky opened this issue Mar 6, 2023 · 0 comments
Labels
code-generation Involves generation of parser / serializer code new-feature New feature

Comments

@Chlumsky
Copy link
Owner

Chlumsky commented Mar 6, 2023

If certain parts of the JSON tree don't have a static structure or we don't care about their structure but want to preserve it, it might be useful to provide a special string type to store the subtree without parsing it, and writing it into output JSON as-is. This would also allow users to use another JSON parser for these portions or delay the parsing until it's requested. There could be an option to preserve / strip whitespace formatting for these portions.

@Chlumsky Chlumsky added new-feature New feature code-generation Involves generation of parser / serializer code labels Mar 6, 2023
@Chlumsky Chlumsky added this to Low Priority in Development progress Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-generation Involves generation of parser / serializer code new-feature New feature
Projects
Development

No branches or pull requests

1 participant