title: As you can see my json object i want to put my json object in a text file and let my js code read my json object from a text file
body: <p>As you can see my json object i want to put my json object in a text file and let my js code read my json object from a text file but i dont know how to do it pls help</p>
  <pre><code>var objs = [{
    &quot;Object&quot;: {
      &quot;ID&quot;: 1,
      &quot;type&quot;: &quot;button&quot;,
      &quot;color&quot;: &quot;red&quot;,
      &quot;Text&quot;: &quot;I Love&quot;,
      &quot;width&quot;: &quot;100px&quot;,
      &quot;height&quot;: &quot;100px&quot;,
      &quot;Font&quot;: {
        &quot;fontName&quot;: &quot;tahoma&quot;,
        &quot;font&quot;: &quot;150px&quot;
      }
    },
    &quot;Object &quot;: {
      &quot;ID&quot;: 2,
      &quot;type&quot;: &quot;button&quot;,
      &quot;color&quot;: &quot;red&quot;,
      &quot;Text&quot;: &quot;I Love&quot;,
      &quot;width&quot;: &quot;100px&quot;,
      &quot;height&quot;: &quot;100px&quot;,
      &quot;Font&quot;: {
        &quot;fontName&quot;: &quot;tahoma&quot;,
        &quot;font&quot;: &quot;150px&quot;
      }
    }
  }]
  objs.forEach(function(Object) {
    var Elm = document.createElement('text');
    Elm.textContent = Element.Object + ' ' + Element.code.hex;
    Elm.style.backgroundColor = Element.code.hex;
    document.getElementById('ColorArea').appendChild(Elm);
  });
  </code></pre>