def _convert_to_object(jsonc_obj):
 if isinstance(jsonc_obj, Jsonc):
  plain = {}
  for (key, value) in jsonc_obj._dict.iteritems():
   plain[key] = _convert_to_object(value)
  return plain
 elif isinstance(jsonc_obj, list):
  plain = []
  for item in jsonc_obj:
   plain.append(_convert_to_object(item))
  return plain
 else:
  return jsonc_obj

def _convert_to_object ( jsonc_obj ) : if isinstance ( jsonc_obj , Jsonc ) : plain = { } for ( key , value ) in jsonc_obj . _dict . iteritems ( ) : plain [ key ] = _convert_to_object ( value ) return plain elif isinstance ( jsonc_obj , list ) : plain = [ ] for item in jsonc_obj : plain . append ( _convert_to_object ( item ) ) return plain else : return jsonc_obj
creates a new dict or list which has the data in the jsonc object .