C++: How to implement (something like) JSON
<p>Not sure how to explain it - I'm pretty new to C++, but... let me try:</p>

<p>Let's say I have 300+ names (Jeff, Jack...) with 300+ int values (0 or 1). In JS I would use JSON. Something like this:</p>

<pre><code>var people = {"person": [
              {"name": "Jeff","val": 0},
              {"name": "Jill","val": 1},
              {"name": "Jack","val": 0},
              {"name": "Jim","val": 1},
              {"name": "John","val": 0}
]}
</code></pre>

<p>What's the best way to do this in C++? 
Thanks.</p>
