On Wednesday, June 14, 2017 at 7:06:39 PM UTC-4, justin walters wrote:
> JSON and Python dictionaries have nearly the exact same syntax. That's why
> working with
> JSON in Python is such a joy! :)
> 
> You can paste any valid JSON into a Python REPL and it will be interpreted
> as a Python dictionary.

Careful: JSON booleans are true and false, not True and False, and the missing
value is null, not None.  So valid JSON might not be readable as Python.

--Ned.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to