 really easy to encode using this scheme. You can also put JSONArray as a value for
a key in a JSONObject object.</p>

<p>Here are some diagrams that depict this:</p>

<p><img src="/assets/json-1.gif" alt="" /></p>

<p><img src="/assets/json-2.gif" alt="" /></p>

<p>There are a couple of things to keep in mind:</p>

<ol>
  <li>
    <p>When passing null as a value, be sure to pass <code class="language-plaintext highlighter-rouge">JSONObject.NULL</code> instead. This just avoids
<code class="language-plainte