Module Expr Str Import alias ImportFrom alias FunctionDef arguments args defaults body TryExcept body Raise NameLoad ImportFrom alias Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return TupleLoad NameLoad NameLoad decorator_list Assign TupleStore NameStore NameStore Call NameLoad ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Num decorator_list Return BinOpAdd BinOpAdd Str Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIsNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad Num body Return BinOpMod Str TupleLoad NameLoad orelse AugAssignSub NameStore Num Assign NameStore BinOpBitOr Num BinOpBitAnd BinOpRShift NameLoad Num Num Assign NameStore BinOpBitOr Num BinOpBitAnd NameLoad Num Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list Return BinOpAdd BinOpAdd Str Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list Assign NameStore BoolOpOr NameLoad NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore BinOpMult Str NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise Call NameLoad BinOpAdd Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareIsNot NameLoad NameLoad UnaryOpNot CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Return Call NameLoad NameLoad orelse Return Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Return Call AttributeLoad Str attr NameLoad orelse Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad NameLoad attr body Assign NameStore Dict orelse Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad If CompareNotEq AttributeLoad NameLoad attr Str body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr NameLoad NameLoad UnaryOpUSub NameLoad body If CompareNotEq NameLoad NameLoad body Assign NameStore Str orelse If CompareEq NameLoad NameLoad body Assign NameStore Str orelse If CompareEq NameLoad NameLoad body Assign NameStore Str orelse Return Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpAdd Str Call NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Dict If BoolOpAnd NameLoad CompareIsNot NameLoad NameLoad CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr TryFinally body Return Call NameLoad NameLoad Num finalbody Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If AttributeLoad NameLoad attr body Return Call AttributeLoad Str attr NameLoad orelse Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Yield NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Expr Yield Str Return If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Str If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore Num Assign NameStore BinOpAdd Str BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad AugAssignAdd NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad For NameStore NameLoad body If NameLoad body Assign NameStore NameLoad orelse Assign NameStore NameLoad If Call NameLoad NameLoad NameLoad body Expr Yield BinOpAdd NameLoad Call NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Expr Yield BinOpAdd NameLoad Str orelse If CompareIs NameLoad NameLoad body Expr Yield BinOpAdd NameLoad Str orelse If CompareIs NameLoad NameLoad body Expr Yield BinOpAdd NameLoad Str orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Expr Yield BinOpAdd NameLoad Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Yield BinOpAdd NameLoad Call NameLoad NameLoad orelse If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Expr Yield BinOpAdd NameLoad Call NameLoad NameLoad orelse Expr Yield NameLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Yield NameLoad If CompareIsNot NameLoad NameLoad body AugAssignSub NameStore Num Expr Yield BinOpAdd Str BinOpMult NameLoad NameLoad Expr Yield Str If CompareIsNot NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Expr Yield Str Return If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Yield Str If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore Num Assign NameStore BinOpAdd Str BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Expr Yield NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num orelse Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Pass orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore Str orelse If CompareIs NameLoad NameLoad body Assign NameStore Str orelse If CompareIs NameLoad NameLoad body Assign NameStore Str orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If NameLoad body Continue orelse Raise Call NameLoad BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str If NameLoad body Assign NameStore NameLoad orelse Expr Yield NameLoad Expr Yield Call NameLoad NameLoad Expr Yield NameLoad If Call NameLoad NameLoad NameLoad body Expr Yield Call NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Expr Yield Str orelse If CompareIs NameLoad NameLoad body Expr Yield Str orelse If CompareIs NameLoad NameLoad body Expr Yield Str orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Expr Yield Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Yield Call NameLoad NameLoad orelse If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Expr Yield Call NameLoad NameLoad orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Yield NameLoad If CompareIsNot NameLoad NameLoad body AugAssignSub NameStore Num Expr Yield BinOpAdd Str BinOpMult NameLoad NameLoad Expr Yield Str If CompareIsNot NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Expr Yield Call NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Expr Yield Str orelse If CompareIs NameLoad NameLoad body Expr Yield Str orelse If CompareIs NameLoad NameLoad body Expr Yield Str orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Expr Yield Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Yield Call NameLoad NameLoad orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body For NameStore Call NameLoad NameLoad NameLoad body Expr Yield NameLoad orelse If Call NameLoad NameLoad NameLoad body For NameStore Call NameLoad NameLoad NameLoad body Expr Yield NameLoad orelse If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Expr Yield Call NameLoad NameLoad orelse If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIn NameLoad NameLoad body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad NameLoad body Expr Yield NameLoad If CompareIsNot NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad decorator_list Return NameLoad decorator_list
N/A N/A Implementation of JSONEncoder
 N/A re decimal Decimal _import_speedups N/A N/A N/A N/A N/A N/A N/A ImportError simplejson _speedups N/A N/A N/A _speedups encode_basestring_ascii N/A _speedups make_encoder N/A N/A N/A ImportError N/A N/A N/A None None N/A N/A N/A c_encode_basestring_ascii c_make_encoder N/A _import_speedups decoder PosInf N/A ESCAPE N/A N/A re compile [\x00-\x1f\\"\b\f\n\r\t] N/A ESCAPE_ASCII N/A N/A re compile ([\\"]|[^\ -~]) N/A HAS_UTF8 N/A N/A re compile [\x80-\xff] N/A ESCAPE_DCT N/A \ " \\ \" \b \f \n \r \t N/A i N/A range 32 N/A N/A N/A N/A ESCAPE_DCT setdefault N/A chr i N/A \u%04x N/A i N/A FLOAT_REPR repr encode_basestring N/A N/A s N/A N/A N/A Return a JSON representation of a Python string

     N/A N/A N/A isinstance s str N/A N/A N/A HAS_UTF8 search s None N/A N/A s N/A N/A s decode utf-8 replace N/A N/A match N/A N/A N/A N/A ESCAPE_DCT N/A N/A N/A match group 0 N/A N/A N/A N/A " N/A N/A ESCAPE sub replace s " N/A py_encode_basestring_ascii N/A N/A s N/A N/A N/A Return an ASCII-only JSON representation of a Python string

     N/A N/A N/A isinstance s str N/A N/A N/A HAS_UTF8 search s None N/A N/A s N/A N/A s decode utf-8 replace N/A N/A match N/A N/A N/A s N/A N/A match group 0 N/A N/A N/A N/A ESCAPE_DCT N/A s N/A N/A N/A KeyError N/A N/A n N/A ord s N/A N/A n 65536 N/A N/A N/A \u%04x N/A n N/A N/A n 65536 N/A s1 N/A 55296 N/A N/A n 10 1023 N/A s2 N/A 56320 N/A n 1023 N/A N/A \u%04x\u%04x N/A s1 s2 N/A N/A N/A N/A " N/A str N/A N/A ESCAPE_ASCII sub replace s " N/A N/A encode_basestring_ascii N/A c_encode_basestring_ascii py_encode_basestring_ascii JSONEncoder N/A object N/A N/A 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         |
    +-------------------+---------------+
    | str, unicode      | string        |
    +-------------------+---------------+
    | int, long, float  | number        |
    +-------------------+---------------+
    | True              | true          |
    +-------------------+---------------+
    | False             | false         |
    +-------------------+---------------+
    | None              | null          |
    +-------------------+---------------+

    To extend this to recognize other objects, subclass and implement a
    ``.default()`` method with another method that returns a serializable
    object for ``o`` if possible, otherwise it should call the superclass
    implementation (to raise ``TypeError``).

     N/A item_separator ,  N/A key_separator :  __init__ N/A N/A self skipkeys ensure_ascii check_circular allow_nan sort_keys indent separators encoding default use_decimal N/A False True True True False None None utf-8 None False N/A N/A Constructor for JSONEncoder, with sensible defaults.

        If skipkeys is false, then it is a TypeError to attempt
        encoding of keys that are not str, int, long, float or None.  If
        skipkeys is True, such items are simply skipped.

        If ensure_ascii is true, the output is guaranteed to be str
        objects with all incoming unicode characters escaped.  If
        ensure_ascii is false, the output will be unicode object.

        If check_circular is true, then lists, dicts, and custom encoded
        objects will be checked for circular references during encoding to
        prevent an infinite recursion (which would cause an OverflowError).
        Otherwise, no such check takes place.

        If allow_nan is true, then NaN, Infinity, and -Infinity will be
        encoded as such.  This behavior is not JSON specification compliant,
        but is consistent with most JavaScript based encoders and decoders.
        Otherwise, it will be a ValueError to encode such floats.

        If sort_keys is true, then the output of dictionaries will be
        sorted by key; this is useful for regression tests to ensure
        that JSON serializations can be compared on a day-to-day basis.

        If indent is a string, then JSON array elements and object members
        will be pretty-printed with a newline followed by that string repeated
        for each level of nesting. ``None`` (the default) selects the most compact
        representation without any newlines. For backwards compatibility with
        versions of simplejson earlier than 2.1.0, an integer is also accepted
        and is converted to a string with that many spaces.

        If specified, separators should be a (item_separator, key_separator)
        tuple.  The default is (', ', ': ').  To get the most compact JSON
        representation you should specify (',', ':') to eliminate whitespace.

        If specified, default is a function that gets called for objects
        that can't otherwise be serialized.  It should return a JSON encodable
        version of the object or raise a ``TypeError``.

        If encoding is not None, then all input strings will be
        transformed into unicode using that encoding prior to JSON-encoding.
        The default is UTF-8.

        If use_decimal is true (not the default), ``decimal.Decimal`` will
        be supported directly by the encoder. For the inverse, decode JSON
        with ``parse_float=decimal.Decimal``.

         N/A N/A self skipkeys skipkeys N/A N/A self ensure_ascii ensure_ascii N/A N/A self check_circular check_circular N/A N/A self allow_nan allow_nan N/A N/A self sort_keys sort_keys N/A N/A self use_decimal use_decimal N/A N/A isinstance indent N/A int long N/A N/A indent N/A indent N/A N/A self indent indent N/A N/A separators None N/A N/A N/A N/A self item_separator N/A self key_separator separators N/A N/A default None N/A N/A N/A self default default N/A N/A self encoding encoding N/A default N/A N/A self o N/A N/A N/A Implement this method in a subclass such that it returns
        a serializable object for ``o``, or calls the base implementation
        (to raise a ``TypeError``).

        For example, to support arbitrary iterators, you could
        implement default like this::

            def default(self, o):
                try:
                    iterable = iter(o)
                except TypeError:
                    pass
                else:
                    return list(iterable)
                return JSONEncoder.default(self, o)

         N/A N/A TypeError N/A N/A repr o  is not JSON serializable N/A encode N/A N/A self o N/A N/A N/A Return a JSON string representation of a Python data structure.

        >>> from simplejson import JSONEncoder
        >>> JSONEncoder().encode({"foo": ["bar", "baz"]})
        '{"foo": ["bar", "baz"]}'

         N/A N/A isinstance o basestring N/A N/A N/A isinstance o str N/A N/A _encoding N/A self encoding N/A N/A N/A _encoding None N/A N/A _encoding utf-8 N/A N/A o N/A N/A o decode _encoding N/A N/A self ensure_ascii N/A N/A N/A encode_basestring_ascii o N/A N/A N/A encode_basestring o N/A chunks N/A N/A self iterencode o _one_shot True N/A N/A N/A isinstance chunks N/A list tuple N/A N/A chunks N/A list chunks N/A N/A self ensure_ascii N/A N/A N/A N/A join chunks N/A N/A N/A N/A join chunks N/A iterencode N/A N/A self o _one_shot N/A False N/A N/A Encode the given object and yield each string
        representation as available.

        For example::

            for chunk in JSONEncoder().iterencode(bigobject):
                mysocket.write(chunk)

         N/A N/A self check_circular N/A N/A markers N/A N/A N/A markers None N/A N/A self ensure_ascii N/A N/A _encoder encode_basestring_ascii N/A N/A _encoder encode_basestring N/A N/A N/A self encoding utf-8 N/A _encoder N/A N/A o _orig_encoder _encoding N/A _encoder N/A self encoding N/A N/A N/A isinstance o str N/A N/A o N/A N/A o decode _encoding N/A N/A _orig_encoder o N/A floatstr N/A N/A o allow_nan _repr _inf _neginf N/A N/A self allow_nan FLOAT_REPR PosInf N/A PosInf N/A N/A N/A o o N/A N/A text NaN N/A N/A N/A o _inf N/A N/A text Infinity N/A N/A N/A o _neginf N/A N/A text -Infinity N/A N/A N/A _repr o N/A N/A allow_nan N/A N/A N/A ValueError N/A Out of range float values are not JSON compliant:  N/A repr o N/A text N/A N/A key_memo N/A N/A N/A _one_shot N/A c_make_encoder None N/A N/A self indent None N/A N/A _iterencode N/A c_make_encoder markers N/A self default _encoder N/A self indent N/A self key_separator N/A self item_separator N/A self sort_keys N/A self skipkeys N/A self allow_nan key_memo N/A self use_decimal N/A N/A _iterencode N/A _make_iterencode markers N/A self default _encoder N/A self indent floatstr N/A self key_separator N/A self item_separator N/A self sort_keys N/A self skipkeys _one_shot N/A self use_decimal N/A N/A N/A N/A _iterencode o 0 N/A N/A N/A N/A key_memo clear N/A N/A JSONEncoderForHTML N/A JSONEncoder N/A N/A An encoder that produces JSON safe to embed in HTML.

    To embed JSON content in, say, a script tag on a web page, the
    characters &, < and > should be escaped. They cannot be escaped
    with the usual entities (e.g. &amp;) because they are not expanded
    within <script> tags.
     encode N/A N/A self o N/A N/A N/A chunks N/A N/A self iterencode o True N/A N/A self ensure_ascii N/A N/A N/A N/A join chunks N/A N/A N/A N/A join chunks N/A iterencode N/A N/A self o _one_shot N/A False N/A N/A chunks N/A N/A N/A super JSONEncoderForHTML self iterencode o _one_shot N/A chunk chunks N/A N/A chunk N/A N/A chunk replace & \u0026 N/A chunk N/A N/A chunk replace < \u003c N/A chunk N/A N/A chunk replace > \u003e N/A N/A chunk N/A N/A _make_iterencode N/A N/A markers _default _encoder _indent _floatstr _key_separator _item_separator _sort_keys _skipkeys _one_shot _use_decimal False True ValueError basestring Decimal dict float id int isinstance list long str tuple N/A False True ValueError basestring Decimal dict float id int isinstance list long str tuple N/A _iterencode_list N/A N/A lst _current_indent_level N/A N/A N/A N/A lst N/A N/A N/A [] N/A N/A N/A markers None N/A N/A markerid N/A id lst N/A N/A markerid markers N/A N/A N/A ValueError Circular reference detected N/A N/A markers N/A markerid lst N/A buf [ N/A N/A _indent None N/A N/A _current_indent_level 1 N/A newline_indent N/A N/A _indent _current_indent_level N/A separator N/A _item_separator newline_indent N/A buf newline_indent N/A N/A newline_indent None N/A separator _item_separator N/A first True N/A value lst N/A N/A first N/A N/A first False N/A N/A buf separator N/A N/A isinstance value basestring N/A N/A N/A N/A buf N/A _encoder value N/A N/A N/A value None N/A N/A N/A N/A buf null N/A N/A N/A value True N/A N/A N/A N/A buf true N/A N/A N/A value False N/A N/A N/A N/A buf false N/A N/A N/A isinstance value N/A int long N/A N/A N/A N/A buf N/A str value N/A N/A N/A isinstance value float N/A N/A N/A N/A buf N/A _floatstr value N/A N/A N/A _use_decimal N/A isinstance value Decimal N/A N/A N/A N/A buf N/A str value N/A N/A N/A buf N/A N/A isinstance value N/A list tuple N/A N/A chunks N/A _iterencode_list value _current_indent_level N/A N/A N/A isinstance value dict N/A N/A chunks N/A _iterencode_dict value _current_indent_level N/A N/A chunks N/A _iterencode value _current_indent_level N/A chunk chunks N/A N/A N/A chunk N/A N/A newline_indent None N/A N/A _current_indent_level 1 N/A N/A N/A N/A _indent _current_indent_level N/A N/A ] N/A N/A markers None N/A N/A N/A markers N/A markerid N/A _iterencode_dict N/A N/A dct _current_indent_level N/A N/A N/A N/A dct N/A N/A N/A {} N/A N/A N/A markers None N/A N/A markerid N/A id dct N/A N/A markerid markers N/A N/A N/A ValueError Circular reference detected N/A N/A markers N/A markerid dct N/A N/A { N/A N/A _indent None N/A N/A _current_indent_level 1 N/A newline_indent N/A N/A _indent _current_indent_level N/A item_separator N/A _item_separator newline_indent N/A N/A newline_indent N/A N/A newline_indent None N/A item_separator _item_separator N/A first True N/A _sort_keys N/A N/A items N/A N/A dct items N/A N/A N/A items sort key N/A N/A N/A kv N/A N/A kv N/A 0 N/A N/A items N/A N/A dct iteritems N/A N/A key value items N/A N/A N/A isinstance key basestring N/A N/A N/A N/A N/A isinstance key float N/A N/A key N/A _floatstr key N/A N/A N/A key True N/A N/A key true N/A N/A N/A key False N/A N/A key false N/A N/A N/A key None N/A N/A key null N/A N/A N/A isinstance key N/A int long N/A N/A key N/A str key N/A N/A _skipkeys N/A N/A N/A N/A N/A TypeError N/A N/A key  N/A repr key  is not a string N/A first N/A N/A first False N/A N/A N/A item_separator N/A N/A N/A _encoder key N/A N/A _key_separator N/A N/A isinstance value basestring N/A N/A N/A N/A _encoder value N/A N/A N/A value None N/A N/A N/A null N/A N/A N/A value True N/A N/A N/A true N/A N/A N/A value False N/A N/A N/A false N/A N/A N/A isinstance value N/A int long N/A N/A N/A N/A str value N/A N/A N/A isinstance value float N/A N/A N/A N/A _floatstr value N/A N/A N/A _use_decimal N/A isinstance value Decimal N/A N/A N/A N/A str value N/A N/A N/A isinstance value N/A list tuple N/A N/A chunks N/A _iterencode_list value _current_indent_level N/A N/A N/A isinstance value dict N/A N/A chunks N/A _iterencode_dict value _current_indent_level N/A N/A chunks N/A _iterencode value _current_indent_level N/A chunk chunks N/A N/A N/A chunk N/A N/A newline_indent None N/A N/A _current_indent_level 1 N/A N/A N/A N/A _indent _current_indent_level N/A N/A } N/A N/A markers None N/A N/A N/A markers N/A markerid N/A _iterencode N/A N/A o _current_indent_level N/A N/A N/A N/A isinstance o basestring N/A N/A N/A N/A _encoder o N/A N/A N/A o None N/A N/A N/A null N/A N/A N/A o True N/A N/A N/A true N/A N/A N/A o False N/A N/A N/A false N/A N/A N/A isinstance o N/A int long N/A N/A N/A N/A str o N/A N/A N/A isinstance o float N/A N/A N/A N/A _floatstr o N/A N/A N/A isinstance o N/A list tuple N/A N/A chunk N/A _iterencode_list o _current_indent_level N/A N/A N/A chunk N/A N/A N/A isinstance o dict N/A N/A chunk N/A _iterencode_dict o _current_indent_level N/A N/A N/A chunk N/A N/A N/A _use_decimal N/A isinstance o Decimal N/A N/A N/A N/A str o N/A N/A N/A markers None N/A N/A markerid N/A id o N/A N/A markerid markers N/A N/A N/A ValueError Circular reference detected N/A N/A markers N/A markerid o N/A o N/A _default o N/A chunk N/A _iterencode o _current_indent_level N/A N/A N/A chunk N/A N/A markers None N/A N/A N/A markers N/A markerid N/A N/A _iterencode N/A