Searched refs:json_obj (Results 1 – 5 of 5) sorted by relevance
18 json_obj['eventCounts'] = {}20 for phase in reversed(json_obj['phases']):28 print json.dumps(json_obj)38 if ev_name not in json_obj['eventCounts']:39 json_obj['eventCounts'][ev_name] = {}40 if addr not in json_obj['eventCounts'][ev_name]:41 json_obj['eventCounts'][ev_name][addr] = 042 json_obj['eventCounts'][ev_name][addr] += 154 json_obj = json.load(json_file) variable
102 json_obj = []105 json_obj = json.load(fp)109 name_set = set([x['autotest_name'] for x in json_obj])110 self.assertEqual(len(name_set), len(json_obj),116 json_obj = []119 json_obj = json.load(fp)123 for entry in json_obj:
58 json_obj = []61 json_obj = json.load(fp)63 for entry in json_obj:
122 json_obj = '{"attr_name": "abc"}'127 self.assertRoundTrip(json_obj)130 self.assertEqual(json_obj, encoding.MessageToJson(obj))
953 json_obj = {"cols": col_objs, "rows": row_objs}955 json_obj["p"] = self.custom_properties957 return json_obj