Python:JSON

From wiki
Revision as of 13:10, 16 March 2018 by Hdridder (talk | contribs) (Created page with ";import json :Enable json functions ;json.dumps(dict, indent=4) :Return the dict nicely structured. Indent each level with 4 spaces. :Can be used on other datatypes too.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
import json
Enable json functions
json.dumps(dict, indent=4)
Return the dict nicely structured. Indent each level with 4 spaces.
Can be used on other datatypes too.