If I had a file whose contents looked like:
{"one": 1} {"two": 2}
I could simply parse each separate line as a separate JSON object (using JsonCpp). But what if the structure of the file was less convenient like this:
{ "one":1 } { "two":2 }
No one has mentioned arrays:
[ {"one": 1}, {"two": 2} ]
Is valid JSON and might do what the OP wants.
1.4m articles
1.4m replys
5 comments
57.0k users