Searched refs:MessageToJson (Results 1 – 12 of 12) sorted by relevance
/external/protobuf/python/google/protobuf/internal/ |
D | json_format_test.py | 101 json_format.Parse(json_format.MessageToJson(message), 117 self.assertEqual(json_format.MessageToJson(message), 126 self.assertEqual(json.loads(json_format.MessageToJson(message)), 159 json.loads(json_format.MessageToJson(message)), 169 self.assertEqual(json_format.MessageToJson(message), 181 message_text = json_format.MessageToJson( 276 message_text = json_format.MessageToJson( 302 json_format.MessageToJson(message), 315 json.loads(json_format.MessageToJson(message, True)), 353 json.loads(json_format.MessageToJson(message, True)), [all …]
|
/external/python/apitools/apitools/base/py/ |
D | encoding_test.py | 292 self.assertEqual(urlsafe_b64_msg, encoding.MessageToJson(msg)) 299 self.assertEqual(enc_rep_msg, encoding.MessageToJson(rep_msg)) 313 from_msg_json_data = encoding.MessageToJson(msg) 338 encoding.MessageToJson(msg)) 358 encoding.MessageToJson(msg)) 363 new_msg = encoding.MessageToJson(msg) 368 self.assertEqual('{}', encoding.MessageToJson(msg)) 371 encoding.MessageToJson(msg, include_fields=['field'])) 374 encoding.MessageToJson(msg, include_fields=['repfield'])) 382 encoding.MessageToJson(msg, include_fields=['nested'])) [all …]
|
D | extra_types_test.py | 128 self.assertEqual(json_value, encoding.MessageToJson(value)) 129 self.assertEqual(json_obj, encoding.MessageToJson(obj)) 141 self.assertEqual(msg_json, encoding.MessageToJson(msg)) 159 self.assertEqual(msg_dict, json.loads(encoding.MessageToJson(msg))) 175 return encoding.MessageToJson(msg)
|
D | encoding_helper.py | 112 return JsonToMessage(type(message), MessageToJson(message)) 115 def MessageToJson(message, include_fields=None): function 134 return json.loads(MessageToJson(message)) 157 return json.loads(MessageToJson(message))
|
D | base_api.py | 440 return encoding.MessageToJson(
|
/external/perfetto/src/trace_processor/util/ |
D | proto_to_json.cc | 81 return MessageToJson( in FieldToJson() 252 return MessageToJson(*options, indent); in FieldOptionsToJson() 260 std::string MessageToJson(const google::protobuf::Message& message, in MessageToJson() function
|
D | proto_to_json.h | 26 std::string MessageToJson(const google::protobuf::Message& message,
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_DecodeJSONExample.pbtxt | 23 `tf.train.Example` (created with `json_format.MessageToJson`, following the
|
/external/tensorflow/tensorflow/tools/test/ |
D | run_and_gather_logs.py | 96 json_test_results = json_format.MessageToJson(test_results)
|
/external/protobuf/conformance/ |
D | conformance_python.py | 163 response.json_payload = json_format.MessageToJson(test_message)
|
/external/protobuf/python/google/protobuf/ |
D | json_format.py | 99 def MessageToJson( function
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | parsing_ops_test.py | 2368 [json_format.MessageToJson(m) for m in examples.flatten()],
|