Python Notes and Examples

JSON

“load”: json → Python.
“dump”: Python → json.

Note, re json vs Python:

null ↔ None
true ↔ True
false ↔ False

About json:

  • strings go in double-quotes only
  • no comments in .json files
  • no trailing commas
  • top-level object is usually a dict