<div><h3 class="title">
<a name="json.examples.validate"></a><a class="link" href="examples.html#json.examples.validate" title="Validate">Validate</a>
</h3></div></div></div>
<pre class="programlisting"><span class="comment">/*
    This example verifies that a file contains valid JSON.
*/</span>

<span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">json</span><span class="special">.</span><span