Module ClassDef bases NameLoad body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str TupleLoad NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad NameLoad TupleLoad NameLoad TupleLoad NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd UnaryOpNot CompareEq NameLoad Str CompareIn NameLoad NameLoad body Return Call NameLoad NameLoad Raise Call NameLoad Call AttributeLoad Str attr keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Import alias Expr Call AttributeLoad NameLoad attr
N/A JSONType N/A object N/A N/A 
    A representation of a JSON type, providing comparison functionality.

    >>> x = 1
    >>> JSONType('num') == type(x)

     N/A json_types N/A bit num str arr obj nil any N/A bool N/A float int N/A basestring str unicode N/A list N/A dict N/A None N/A bool float int str unicode list dict None __init__ N/A N/A self type_key N/A N/A N/A Provide a key (str). This indicates which type/s this ``JSONType``
        should be mapped to (e.g. 'bit' maps to ``bool``, etc.). N/A N/A N/A N/A self _types N/A N/A self json_types N/A type_key N/A N/A N/A KeyError N/A N/A N/A ValueError N/A N/A Invalid key "{0}" provided format type_key N/A N/A N/A self _json_type_code type_key N/A __eq__ N/A N/A self other N/A N/A N/A 
        Returns whether or not the provided type is in the tuple of supported
        types for self.
         N/A N/A other N/A self _types N/A __repr__ N/A N/A self N/A N/A N/A N/A self _json_type_code N/A by_python_type N/A N/A cls p_type N/A N/A N/A 
        Takes any Python type, and returns an appropriate ``JSONType``. If the
        type provided isn't supported, a ``ValueError`` is raised.
         N/A N/A key python_types N/A N/A N/A cls json_types iteritems N/A N/A N/A N/A N/A key any N/A p_type python_types N/A N/A N/A cls key N/A N/A ValueError N/A N/A {t} is not a valid JSON type format t p_type N/A classmethod __unicode__ N/A N/A self N/A N/A N/A N/A self _json_type_code N/A N/A N/A N/A __name__ __main__ N/A N/A doctest N/A N/A N/A doctest testmod