We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there!
I would like to ask if it's possible to parse with the following structure:
{"key1":"value1","key2":"value2"} {"key1":"value1","key2":"value2"}
This is my use case:
std::string ret(buffer); auto j = json::parse(ret);
Thanks ! :)
The text was updated successfully, but these errors were encountered:
You mean newline-separated JSON text?
Sorry, something went wrong.
Yes! :D
If you read from a stream, then you can call the parser multiple times like this:
int main() { std::stringstream ss; ss << "{} true false"; json j; while (ss >> j) { std::cout << j << std::endl; } }
You then only need to take care about an exception that can occur after reading the last value.
It worked! Thanks!! I will close this issue!
No branches or pull requests
Hi there!
I would like to ask if it's possible to parse with the following structure:
This is my use case:
Thanks ! :)
The text was updated successfully, but these errors were encountered: