import json
# print('exec')
# print(array_json)
# print(type(array_json))
'''
[{'a': '0000', 'b': '----------------------------', 'script': '{\n "c": "C:\\\\Test.py",\n "d": "5"\n}'}]
<class 'list'>
'''
# print(array_json[0])
# print(type(array_json[0]))
'''
{'a': '0000', 'b': '----------------------------', 'script': '{\n "c": "",\n "d": "5"\n}'}
<class 'dict'>
'''
strtmp = json.dumps(array_json[0])
# print(strtmp)
# print(type(strtmp))
'''
{"a": "0000", "b": "----------------------------", "script": "{\n \"c\": \"C:\\\\Test.py\",\n \"d\": \"5\"\n}"}
<class 'str'>
'''
dicttmp = json.loads(strtmp)
# print(dicttmp)
# print(type(dicttmp))
'''
{'a': '0000', 'b': '----------------------------', 'script': '{\n "c": "C:\\\\Test.py",\n "d": "5"\n}'}
<class 'dict'>
'''
# str_script = dicttmp['script']
str_script = dicttmp.get('script')
# print(str_script)
# print(type(str_script))
'''
{
"c": "C:\\Test.py",
"d": "5"
}
<class 'str'>
'''
dict_script = json.loads(str_script)
# print(dict_script.get('c')) # C:\\Test.py
# print(dict_script.get('d')) # 5