Home
last modified time | relevance | path

Searched refs:ToJsonString (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dwell_known_types_test.py68 self.assertEqual(text, message.ToJsonString())
74 self.assertEqual(text, message.ToJsonString())
152 message.ToJsonString())
157 message.ToJsonString())
162 message.ToJsonString())
167 message.ToJsonString())
172 message.ToJsonString())
177 message.ToJsonString())
182 message.ToJsonString())
187 message.ToJsonString())
[all …]
Dwell_known_types.py107 def ToJsonString(self): member in Timestamp
259 def ToJsonString(self): member in Duration
418 def ToJsonString(self): member in FieldMask
/external/jsoncpp/src/test_lib_json/
Djsontest.h186 Json::String ToJsonString(const char* toConvert);
187 Json::String ToJsonString(Json::String in);
189 Json::String ToJsonString(std::string in);
227 JsonTest::checkStringEqual(*result_, JsonTest::ToJsonString(expected), \
228 JsonTest::ToJsonString(actual), __FILE__, \
Djsontest.cpp407 Json::String ToJsonString(const char* toConvert) { in ToJsonString() function
411 Json::String ToJsonString(Json::String in) { return in; } in ToJsonString() function
414 Json::String ToJsonString(std::string in) { in ToJsonString() function
Dmain.cpp815 normalizeFloatingPointStr(JsonTest::ToJsonString(val.asString()))); in JSONTEST_FIXTURE_LOCAL()
1057 normalizeFloatingPointStr(JsonTest::ToJsonString(val.asString()))); in JSONTEST_FIXTURE_LOCAL()
1133 normalizeFloatingPointStr(JsonTest::ToJsonString(val.asString()))); in JSONTEST_FIXTURE_LOCAL()
1182 normalizeFloatingPointStr(JsonTest::ToJsonString(val.asString()))); in JSONTEST_FIXTURE_LOCAL()
1230 normalizeFloatingPointStr(JsonTest::ToJsonString(val.asString()))); in JSONTEST_FIXTURE_LOCAL()
1275 normalizeFloatingPointStr(JsonTest::ToJsonString(val.asString()))); in JSONTEST_FIXTURE_LOCAL()
1366 normalizeFloatingPointStr(JsonTest::ToJsonString(val.asString()))); in JSONTEST_FIXTURE_LOCAL()
1395 normalizeFloatingPointStr(JsonTest::ToJsonString(val.asString()))); in JSONTEST_FIXTURE_LOCAL()
1426 normalizeFloatingPointStr(JsonTest::ToJsonString(val.asString()))); in JSONTEST_FIXTURE_LOCAL()
1431 normalizeFloatingPointStr(JsonTest::ToJsonString(val.asString()))); in JSONTEST_FIXTURE_LOCAL()
[all …]
/external/protobuf/src/google/protobuf/util/
Dfield_mask_util.h61 static bool ToJsonString(const FieldMask& mask, std::string* out);
Dfield_mask_util_test.cc144 EXPECT_TRUE(FieldMaskUtil::ToJsonString(mask, &value)); in TEST()
147 EXPECT_TRUE(FieldMaskUtil::ToJsonString(mask, &value)); in TEST()
150 EXPECT_TRUE(FieldMaskUtil::ToJsonString(mask, &value)); in TEST()
Dfield_mask_util.cc106 bool FieldMaskUtil::ToJsonString(const FieldMask& mask, std::string* out) { in ToJsonString() function in google::protobuf::util::FieldMaskUtil
/external/protobuf/python/google/protobuf/
Djson_format.py133 return printer.ToJsonString(message, indent, sort_keys)
191 def ToJsonString(self, message, indent, sort_keys): member in _Printer
331 return message.ToJsonString()