title: Parse JSON and store data in Python Class
body: <p>This is my JSON data</p>
  
  <pre class="lang-javascipt prettyprint-override"><code>[
      {
          "id":1,
          "name":"abc",
          "phone": "12345",
          "Charecteristics": [
              {
                  "id":1,
                  "name":"Good Looking",
                  "rating": "Average",
              }
              {
                  "id":2,
                  "name":"Smart",
                  "rating": "Excellent",
              }
          ]
      },
      { ... },
      { ... }
  ]
  </code></pre>
  
  <p>I have two Classes in Python</p>
  
  <pre><code>class Character(object):
      id = 0
      name = ""
      rating = ""
  
  class Person(object):
      id = 0
      name = ""
      phone = ""
      Characteristics = []
  </code></pre>
  
  <p>I need to parse the JSON data and instantiate appropriate Classes. The Classes are self-explanatory: i.e. Person has an array of Character classes.</p>
  
  <p>How do I instantiate these and store data appropriately?</p>
  
  <p>Also, how will I access particular Person data? i.e. Person's details and characteristics</p>