Lines Matching defs:json
5 $ echo '{"json":"obj"}' | python -m json.tool
7 "json": "obj"
9 $ echo '{ 1.2:3.4}' | python -m json.tool
14 import json
20 prog = 'python -m json.tool'
21 description = ('A simple command line interface for json module '
36 parser.add_argument('--json-lines', action='store_true', default=False,
65 objs = (json.loads(line) for line in infile)
67 objs = (json.load(infile),)
75 json.dump(obj, outfile, **dump_args)