Searched refs:ToJson (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | json_util_test.cc | 70 string ToJson(const Message& message, const JsonPrintOptions& options) { in ToJson() function in google::protobuf::util::__anonfc78bf940111::JsonUtilTest 93 EXPECT_EQ("{\"messageValue\":{}}", ToJson(m, options)); in TEST_F() 99 ToJson(m, options)); in TEST_F() 105 EXPECT_EQ("{}", ToJson(m, options)); in TEST_F() 130 ToJson(m, options)); in TEST_F() 165 EXPECT_EQ("{\"stringMap\":{\"hello\":1234}}", ToJson(message, print_options)); in TEST_F() 167 ASSERT_TRUE(FromJson(ToJson(message, print_options), &other, parse_options)); in TEST_F() 223 EXPECT_EQ(ToJson(generated, options), ToJson(*message, options)); in TEST_F()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | FieldMaskPartial.cs | 56 internal static string ToJson(IList<string> paths, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.FieldMask 125 return ToJson(Paths, true); in ToDiagnosticString()
|
D | DurationPartial.cs | 197 internal static string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.Duration 241 return ToJson(Seconds, Nanos, true); in ToDiagnosticString()
|
D | TimestampPartial.cs | 199 internal static string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.Timestamp 238 return ToJson(Seconds, Nanos, true); in ToDiagnosticString()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | JsonFormatter.cs | 543 writer.Write(Timestamp.ToJson(seconds, nanos, DiagnosticOnly)); in WriteTimestamp() 551 writer.Write(Duration.ToJson(seconds, nanos, DiagnosticOnly)); in WriteDuration() 557 writer.Write(FieldMask.ToJson(paths, DiagnosticOnly)); in WriteFieldMask()
|