 that <code>json-formatter-dark</code> class make text and other elements lighter so they look good on a dark background.</p>
    <div class="result dark">
      <json-formatter open="1" json='complex' class="json-formatter-dark"></json-formatter>
    </div>

    <h4>Altering JSON object</h4>
    <label>
      <input type="checkbox" ng-model="c">
      <span>Alternate <code>json</code></span>
    </label>
    <div class="result">
      <json-formatter json="c ? alternate1 : alternate2" open="1"></json-forma