import json

python_dict = {'a':'nutanix', 'b':{'hello':'world'}}
text_json = json.dumps(python_dict, indent=2)
print(text_json)


text_json = '''
{
  "hello":"world"
}
'''
python_dict = json.loads(text_json)
print(python_dict)
import json

python_dict = {'a':'nutanix', 'b':{'hello':'world'}}
text_json = json.dumps(python_dict, indent=2)
print(text_json)


text_json = '''
{
  "hello":"world"
}
'''
python_dict = json.loads(text_json)
print(python_dict)
{   "hello":"world" }