Lines Matching defs:json
32 import json
58 _DEFAULT_JSON_FILENAME = 'PerformanceTestsResults.json'
105 optparse.make_option("--output-json-path", action='callback', callback=_expand_path, type="str",
109 optparse.make_option("--slave-config-json-path", action='callback', callback=_expand_path, type="str",
116 help="Upload the generated JSON file to the specified server when --output-json-path is present."),
251 json_output = json.dumps(output)
316 slave_config = json.load(slave_config_json)
328 existing_outputs = json.loads(self._host.filesystem.read_text_file(output_json_path))
338 response = uploader.upload_single_text_file(self._host.filesystem, 'application/json', json_path)
346 parsed_response = json.loads('\n'.join(response_body))
354 _log.error(json.dumps(parsed_response, indent=4))