All Samples(2566)  |  Call(2426)  |  Derive(0)  |  Import(140)
Deserialize ``s`` (a ``str`` or ``unicode`` instance containing a JSON
document) to a Python object.

*encoding* determines the encoding used to interpret any
:class:`str` objects decoded by this instance (``'utf-8'`` by
default).  It has no effect when decoding :class:`unicode` objects.

Note that currently only encodings that are a superset of ASCII work,
strings of other encodings should be passed in as :class:`unicode`.
(more...)

All Samples(2357)  |  Call(2199)  |  Derive(0)  |  Import(158)
Serialize ``obj`` to a JSON formatted ``str``.

If ``skipkeys`` is false then ``dict`` keys that are not basic types
(``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``)
will be skipped instead of raising a ``TypeError``.

If ``ensure_ascii`` is false, then the return value will be a
``unicode`` instance subject to normal Python ``str`` to ``unicode``
coercion rules instead of being escaped to an ASCII ``str``.
(more...)

All Samples(337)  |  Call(320)  |  Derive(0)  |  Import(17)
Deserialize ``fp`` (a ``.read()``-supporting file-like object containing
a JSON document) to a Python object.

*encoding* determines the encoding used to interpret any
:class:`str` objects decoded by this instance (``'utf-8'`` by
default).  It has no effect when decoding :class:`unicode` objects.

Note that currently only encodings that are a superset of ASCII work,
strings of other encodings should be passed in as :class:`unicode`.
(more...)

All Samples(160)  |  Call(40)  |  Derive(92)  |  Import(28)
Extensible JSON <http://json.org> encoder for Python data structures.

Supports the following objects and types by default:

+-------------------+---------------+
| Python            | JSON          |
+===================+===============+
| dict              | object        |
+-------------------+---------------+
| list, tuple       | array         |(more...)

All Samples(31)  |  Call(0)  |  Derive(0)  |  Import(31)
simplejson speedups

All Samples(190)  |  Call(172)  |  Derive(0)  |  Import(18)
Serialize ``obj`` as a JSON formatted stream to ``fp`` (a
``.write()``-supporting file-like object).

If ``skipkeys`` is true then ``dict`` keys that are not basic types
(``str``, ``unicode``, ``int``, ``long``, ``float``, ``bool``, ``None``)
will be skipped instead of raising a ``TypeError``.

If ``ensure_ascii`` is false, then the some chunks written to ``fp``
may be ``unicode`` instances, subject to normal Python ``str`` to
``unicode`` coercion rules. Unless ``fp.write()`` explicitly(more...)

All Samples(114)  |  Call(0)  |  Derive(0)  |  Import(114)
Implementation of JSONDecoder

All Samples(118)  |  Call(0)  |  Derive(0)  |  Import(118)
Implementation of JSONEncoder

All Samples(50)  |  Call(0)  |  Derive(0)  |  Import(50)
JSON token scanner

All Samples(31)  |  Call(6)  |  Derive(10)  |  Import(15)
Simple JSON <http://json.org> decoder

Performs the following translations in decoding by default:

+---------------+-------------------+
| JSON          | Python            |
+===============+===================+
| object        | dict              |
+---------------+-------------------+
| array         | list              |(more...)

All Samples(27)  |  Call(13)  |  Derive(0)  |  Import(14)
Dictionary that remembers insertion order

All Samples(26)  |  Call(26)  |  Derive(0)  |  Import(0)
No Document.

All Samples(8)  |  Call(0)  |  Derive(0)  |  Import(8)
No Document.

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
No Document.

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
No Document.

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
No Document.

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
No Document.

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
No Document.