import json
user={'name':'yao','gender':'male','group':{'L':'A'}} //python object
userStr=json.dumps(user)
user2=json.load(userStr)
print user2['name']
print user2['group']['L']