title: How to write a basic JSON parsing class
body: <p>Could some one guide how to write a class which would take a JSON data and would try to parse it into a simple buffered list from which we could read the data back?</p>
  
  <p>Ex. JSON </p>
  
  <pre><code>{ name: 'John', age: 56 } 
  </code></pre>
  
  <p>..will be parsed into a table of key value pairs</p>
  
  <pre><code>name John
  age  56
  </code></pre>
  
  <p>How to write a parse method which would help to create a faster and simpler? </p>
  
  <p>Kindly do not suggest any existing library. Provide a concept for parsing JSON.</p>