Lines Matching defs:json
28 import json
211 _json_file = os.path.join(_testcases_dir, _testsuite_name + ".json")
214 self._generate_json_by_template(_test_xml.replace(".xml", ".json"),
222 self._generate_json_by_template(_test_xml.replace(".xml", ".json"),
224 args.archive_testfile, _testsuite_name + ".json"))
241 elif _test_xml.replace(".xml", ".json") and \
242 os.path.exists(_test_xml.replace(".xml", ".json")):
243 self._generate_json_by_template(_test_xml.replace(".xml", ".json"),
289 json.dump(module_info_data, out_file)
358 with open(xml_file.replace(".config", ".json"),
360 json_str = json.load(json_file)