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
With this json
{ { "name": "test", "author": "test", "index": 0 }, { "name": "test2", "author": "test2", "index": 1 } }
How do I parse that so I can get each sub-array (2 in this example) and store those to a std::vector?
std::vector
Sent from my HUAWEI GR5 2017 using FastHub
The text was updated successfully, but these errors were encountered:
Is the question on parsing or accessing?
The above snippet is not valid JSON: the outer braces start an object, but there is no key.
Sorry, something went wrong.
Oh my bad. Yeah the json is not valid, sorry (new to json format). Anyways i have managed to answer my question. Thanks
No branches or pull requests
With this json
How do I parse that so I can get each sub-array (2 in this example) and store those to a
std::vector
?Sent from my HUAWEI GR5 2017 using FastHub
The text was updated successfully, but these errors were encountered: