Mar-09-2020, 01:09 AM
Try to implement the following algorithm:
1) parse json-string to Python dictionary (use json module to do this);
2) modify the dictionary you got at #1;
3) convert the dictionary to json-string (json module);
1) parse json-string to Python dictionary (use json module to do this);
2) modify the dictionary you got at #1;
3) convert the dictionary to json-string (json module);