Module Expr Str ImportFrom alias alias Assign NameStore NameLoad TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Pass FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr BinOpMod Str NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword TupleLoad Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr BinOpMod Str NameLoad If BoolOpAnd CompareIs NameLoad NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list If BoolOpAnd CompareIsNot NameLoad NameLoad CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Assign NameStore ListLoad Str Str Str
N/A N/A Priority based json library imports.

Use jsonapi.loads() and jsonapi.dumps() for guaranteed symmetry.

Priority: jsonlib2 > jsonlib > simplejson > json

Ensures bytes instead of unicode on either side of serialization.

Authors
-------
* MinRK
* Brian Granger
 zmqpy.utils.strtypes bytes unicode N/A jsonmod None N/A N/A N/A jsonlib2 jsonmod N/A N/A N/A ImportError N/A N/A N/A N/A jsonlib jsonmod N/A N/A N/A ImportError N/A N/A N/A N/A simplejson jsonmod N/A N/A N/A ImportError N/A N/A N/A N/A json jsonmod N/A N/A N/A ImportError N/A N/A _squash_unicode N/A N/A s N/A N/A N/A N/A isinstance s unicode N/A N/A N/A N/A s encode utf8 N/A N/A s N/A jsonlib_dumps N/A N/A o N/A kwargs N/A N/A This one is separate because jsonlib doesn't allow specifying separators.
    See jsonlib.dumps for details on kwargs.
     N/A N/A _squash_unicode N/A N/A jsonmod dumps o kwargs N/A dumps N/A N/A o N/A kwargs N/A N/A N/A Serialize object to JSON str.
    See %s.dumps for details on kwargs.
     jsonmod N/A N/A _squash_unicode N/A N/A jsonmod dumps o separators N/A , : kwargs N/A loads N/A N/A s N/A kwargs N/A N/A N/A Load object from JSON str.
    See %s.loads for details on kwargs.
     jsonmod N/A N/A N/A str unicode N/A isinstance s bytes N/A N/A s N/A N/A s decode utf8 N/A N/A N/A jsonmod loads s kwargs N/A N/A N/A N/A jsonmod None N/A N/A jsonmod __name__ jsonlib N/A N/A dumps jsonlib_dumps N/A __all__ N/A jsonmod dumps dumps