title: How to alert json file data from javascript
body: <p><strong>How can I alert the below JSON code using jquery?</strong>     </p>
  
  <pre><code>{
      "results": {
          "course": "CC167",
          "books": {
              "book": [
                  {
                      "-id": "585457",
                      "-title": "Beginning XNA 20 game programming : from novice to professional",
                      "-isbn": "1590599241",
                      "-borrowedcount": "16"
                  },
                  {
                      "-id": "325421",
                      "-title": "Red Hat Linux 6",
                      "-isbn": "0201354373",
                      "-borrowedcount": "17"
                  }
              ]
          }
      }
  }
  </code></pre>
  
  <p>This is my json file content which can named <code>result.json</code>. I need to alert or print all data of this file using JavaScript or jQuery. How can I do this ?</p>