Replies: 1 comment 2 replies
-
You could try https://json.nlohmann.me/features/parsing/parser_callbacks/ or https://json.nlohmann.me/features/parsing/sax_interface/ |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I need to parse a large JSON string, for example:
Considering performance, I don’t want to parse the entire largeObject at once. Instead, I would like to convert largeObject to a string to avoid fully parsing it. How can I implement this? Thanks a lot.
Here is an example of what the code might look like:
Expected output:
Beta Was this translation helpful? Give feedback.
All reactions