Module Expr Str Import alias FunctionDef arguments args defaults body Import alias If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Str Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Str Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Str orelse Raise Call NameLoad BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Using simplejson from the shell to validate and
pretty-print::
    
    $ echo '{"json":"obj"}' | python -msimplejson
    {
        "json": "obj"
    }
    $ echo '{ 1.2:3.4}' | python -msimplejson
    Expecting property name: line 1 column 2 (char 2)

Note that the JSON produced by this module's default settings
is a subset of YAML, so it may be used as a serializer for that as well.
 N/A django.utils.simplejson main N/A N/A N/A N/A N/A sys N/A N/A N/A len N/A sys argv 1 N/A N/A infile N/A sys stdin N/A outfile N/A sys stdout N/A N/A N/A N/A len N/A sys argv 2 N/A N/A infile N/A open N/A N/A sys argv N/A 1 rb N/A outfile N/A sys stdout N/A N/A N/A N/A len N/A sys argv 3 N/A N/A infile N/A open N/A N/A sys argv N/A 1 rb N/A outfile N/A open N/A N/A sys argv N/A 2 wb N/A N/A N/A SystemExit N/A %s [infile [outfile]] N/A N/A N/A sys argv N/A 0 N/A N/A N/A obj N/A N/A simplejson load infile N/A N/A N/A ValueError N/A e N/A N/A N/A SystemExit e N/A N/A N/A simplejson dump obj outfile sort_keys True indent 4 N/A N/A N/A outfile write N/A N/A N/A __name__ __main__ N/A N/A N/A main