Module Expr Str Import alias Import alias FunctionDef arguments args defaults body 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 BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num Str 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 Command-line tool to validate and pretty-print JSON

Usage::

    $ echo '{"json":"obj"}' | python -m simplejson.tool
    {
        "json": "obj"
    }
    $ echo '{ 1.2:3.4}' | python -m simplejson.tool
    Expecting property name: line 1 column 2 (char 2)

 N/A sys N/A simplejson main N/A N/A N/A N/A 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 N/A N/A sys argv N/A 0  [infile [outfile]] 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