Home | History | Annotate | Download | only in telemetry

Lines Matching refs:json

6 import json
13 json_obj = json.load(f)
15 return json.dumps(
24 'Reformat your JSON file by running: %s --format %s' %
26 print >> sys.stdout, ('%s passes the JSON format validation' % file_path)
36 description = """A JSON formatting tool.
38 This is a tool that validate and reformats JSON file so that it complies with
39 a certain style. The JSON style imposed by this tool is:
40 * JSON array elements and object members are indented with 2 spaces.
46 parser.add_argument('file_path', type=str, help='The path to JSON file.')
48 help='Format the JSON file.')