You can use JSON.stringfy to pre-process the data on the front end as described by yj.lee, or when using python to parse, pass a preprocessing function (json.decoder) like the cls parameter of json.loads() to Data preprocessing.
First of all, you need to make sure your json format is correct. Generally, python’s json will not go wrong. After all, we are not Inspur front-end people. The main cause of the problem may be that the json format is incorrect.
It is recommended to post it in json format for a look.
Use spidermonkey or v8’s python binding to do JSON.stringify on the incoming data as a js object.
You can also go through node.js through subprocess.
You can use JSON.stringfy to pre-process the data on the front end as described by yj.lee, or when using python to parse, pass a preprocessing function (json.decoder) like the cls parameter of json.loads() to Data preprocessing.
First of all, you need to make sure your json format is correct. Generally, python’s json will not go wrong. After all, we are not Inspur front-end people. The main cause of the problem may be that the json format is incorrect.
It is recommended to post it in json format for a look.
If it is the above
"a":true
you need to do this