json viewer code example
Example 1: online json viewer
Online JSON beautifier: https://codebeautify.org/jsonviewer
JSON pretty print in Python:
import json
your_json = '["foo", {"bar":["baz", null, 1.0, 2]}]'
parsed = json.loads(your_json)
print(json.dumps(parsed, indent=4, sort_keys=True))
Example 2: json viewer awesome
{"timestamp": 1612109246,"iss_position": {"longitude": "134.6860","latitude": "-32.0296"},"message": "success"}