You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f5ee4e2
Browse filesBrowse the repository at this point in the historyBrowse files
The `json <https://docs.python.org/2/library/json.html>`_ library can read JSON strings into a Python dictionary or array. It can also serialize Python dictionaries or arrays into JSON strings.
6
5
7
-
`json <https://docs.python.org/2/library/json.html>`_ is a standard libary which can convert JSON to a Dictionay.
6
+
* There are six basic types in JSON: objects, arrays, numbers, strings, booleans, and null.
7
+
* The root element of JSON representation is an object, signified by ``{ ... }``. JSON objects are analogous to Python dictionaries: they have keys which correspond to values.
8
+
* JSON does not use single quotes. JSON exclusively uses double quotes. Using single quotes in the place of double quotes is invalid JSON syntax.
8
9
9
-
For example, a JSON string like this:
10
+
Parsing JSON
11
+
------------
12
+
The `json <https://docs.python.org/2/library/json.html>`_ libary is imported like this:
0 commit comments