Lines Matching defs:json
15 import json
56 '--json',
59 help="output json instead of short summary")
146 compile_commands_file = "{}/compile_commands.json".format(build_dir)
297 class LocsEncoder(json.JSONEncoder):
309 return json.JSONEncoder.default(self, o)
372 if ARGS['json']:
383 compile_commands = json.load(file)
428 if ARGS['json']:
429 print(json.dumps(result, ensure_ascii=False, cls=LocsEncoder))