Home
last modified time | relevance | path

Searched refs:json_format (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Djson_format_test.py53 from google.protobuf import json_format
97 json_format.Parse(json_format.MessageToJson(message),
104 json_format.ParseError,
106 json_format.Parse, text, message)
113 self.assertEqual(json_format.MessageToJson(message),
122 self.assertEqual(json.loads(json_format.MessageToJson(message)),
155 json.loads(json_format.MessageToJson(message)),
158 json_format.Parse(text, parsed_message)
169 json_format.MessageToJson(message),
175 json_format.Parse(text, message)
[all …]
/external/protobuf/conformance/
Dconformance_python.py42 from google.protobuf import json_format
69 json_format.Parse(request.json_payload, test_message)
70 except json_format.ParseError as e:
84 response.json_payload = json_format.MessageToJson(test_message)
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCameraEnumerationAndroid.java162 JSONObject json_format = new JSONObject(); in getSupportedFormatsAsJson() local
163 json_format.put("width", format.width); in getSupportedFormatsAsJson()
164 json_format.put("height", format.height); in getSupportedFormatsAsJson()
165 json_format.put("framerate", (format.maxFramerate + 999) / 1000); in getSupportedFormatsAsJson()
166 json_formats.put(json_format); in getSupportedFormatsAsJson()
/external/tensorflow/tensorflow/tools/test/
Drun_and_gather_logs.py28 from google.protobuf import json_format
94 json_test_results = json_format.MessageToJson(test_results)
/external/tensorflow/tensorflow/contrib/tensor_forest/python/
Dtensor_forest_test.py21 from google.protobuf.json_format import ParseDict
/external/tensorflow/tensorflow/python/summary/
Dsummary.py26 from google.protobuf import json_format as _json_format
/external/tensorflow/tensorflow/python/kernel_tests/
Dparsing_ops_test.py26 from google.protobuf import json_format
1626 [json_format.MessageToJson(m) for m in examples.flatten()],
/external/protobuf/
DMakefile.am583 python/google/protobuf/json_format.py \