Open this example in the interactive library
Source code
import json
print(json.loads('{"active": true, "count": 3}'))Sample output
{'active': True, 'count': 3}
Open this example in the interactive library
import json
print(json.loads('{"active": true, "count": 3}')){'active': True, 'count': 3}