title: How can I print a specific part of a JSON object with JavaScript?
body: <p>I would like to know what to use to transform the document from <code>JSON</code> to an array and the print the part of the array the user wants. Also, how can I put it in an <code>HTML</code> document so the user can search any part of the array.</p>
  
  <p>Below is the <code>JSON</code>.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>{
    "A": {
      "1": {
        "1\u00ba": [
          "Semestre 1"
        ]
      },
      "2": {
        "1\u00ba": [
          "Semestre 1"
        ]
      }
    },
    "B": [
  
    ],
    "c": {
      "2": {
        "1\u00ba": [
          "Semestre 1"
        ]
      },
      "3": {
        "1\u00ba": [
          "Semestre 1"
        ]
      },
      "44": {
        "1\u00ba": [
          "Semestre 1"
        ]
      },
      "G6": {
        "1\u00ba": [
          "Semestre 1"
        ]
      },
      "GP98": {
        "1\u00ba": [
          "Semestre 1"
        ]
      },
      "654": {
        "1\u00ba": [
          "Semestre 1"
        ]
      },
      "5556": {
        "1\u00ba": [
          "Semestre 1"
        ]
      },
      "7654": {
        "1\u00ba": [
          "Semestre 1"
        ]
      }
    }
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>Thanks for your help.</p>