.Writer&nbsp;writer)
                            throws java.io.IOException</pre>
<div class="block">Write a formatted JSON string</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>json</code> - JSON list or map</dd>
<dd><code>writer</code> - Writer</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - I/O error occurred</dd>
</dl>
</li>
</ul>
<a name="encodeObject-java.util.Map-java.lang.StringBuilder-">
<!--   -->
</a>
<ul class="blockList">
