code: def _parse_json(s):
      '''
      Parse json string into JsonDict.
  
      >>> r = _parse_json(r'{"name":"Michael","score":95}')
      >>> r.name
      u'Michael'
      >>> r['score']
      95
      '''
      return json.loads(s, object_hook=lambda pairs: JsonDict(pairs.iteritems())f _parse_json(s):
      '''
      Parse json string into JsonDict.
  
      >>> r = _parse_json(r'{"name":"Michael","score":95}')
      >>> r.name
      u'Michael'
      >>> r['score']
      95
      '''
      return json.loads(s, object_hook=lambda pairs: JsonDict(pairs.iteritems()))
docs: Parse json string into JsonDict.
  
      >>> r = _parse_json(r'{"name":"Michael","score":95}')
      >>> r.name
      u'Michael'
      >>> r['score']
      95