-
Hello, Does the nlohmann-json library support incremental parsing of streams? Since I read the following inside the appreciation list, it should be possible, or?
Is there any example out there, that shows it's usage? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I'm stuck asking a similar question it would seem.. |
Beta Was this translation helpful? Give feedback.
-
You can parse from a |
Beta Was this translation helpful? Give feedback.
You can parse from a
std::istream
viaoperator>>
. It parses until a complete JSON value is read you can call it again to parse the next value. So when your input istrue false
, then you can parse two values.