Home
last modified time | relevance | path

Searched refs:ToJson (Results 1 – 11 of 11) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/
Djson_util_test.cc70 std::string ToJson(const Message& message, const JsonPrintOptions& options) { in ToJson() function in google::protobuf::util::__anon4f7e94fe0111::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()
158 ToJson(m, options)); in TEST_F()
186 ToJson(m, options)); in TEST_F()
195 EXPECT_EQ("{\"message_value\":{}}", ToJson(m, options)); in TEST_F()
208 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F()
232 EXPECT_EQ(expected_json, ToJson(orig, print_options)); in TEST_F()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DDurationPartial.cs197 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()
DTimestampPartial.cs199 internal static string ToJson(long seconds, int nanoseconds, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.Timestamp
341 return ToJson(Seconds, Nanos, true); in ToDiagnosticString()
DFieldMaskPartial.cs59 internal static string ToJson(IList<string> paths, bool diagnosticOnly) in ToJson() method in Google.Protobuf.WellKnownTypes.FieldMask
103 return ToJson(Paths, true); in ToDiagnosticString()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/common/
Dshard_pybind.h31 void ToJson(json *j, const py::object &obj);
/third_party/protobuf/csharp/src/Google.Protobuf/
DJsonFormatter.cs519 writer.Write(Timestamp.ToJson(seconds, nanos, DiagnosticOnly)); in WriteTimestamp()
527 writer.Write(Duration.ToJson(seconds, nanos, DiagnosticOnly)); in WriteDuration()
533 writer.Write(FieldMask.ToJson(paths, DiagnosticOnly)); in WriteFieldMask()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/
Dpybind_conversion.h84 Status ToJson(const py::handle &padded_sample, nlohmann::json *const padded_sample_json,
Dpybind_conversion.cc229 Status ToJson(const py::handle &padded_sample, nlohmann::json *const padded_sample_json, in ToJson() function
/third_party/grpc/test/cpp/util/
Dgrpc_tool.cc98 bool ToJson(int argc, const char** argv, const CliCredentials& cred,
251 {"tojson", BindWith5Args(&GrpcTool::ToJson), 2, 3},
921 bool GrpcTool::ToJson(int argc, const char** argv, const CliCredentials& cred, in ToJson() function in grpc::testing::GrpcTool
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/
Dbindings.cc220 THROW_IF_ERROR(ToJson(padded_sample, &padded_sample_json, &sample_bytes)); in __anon9c4d722b1a02()
232 THROW_IF_ERROR(ToJson(padded_sample, &padded_sample_json, &sample_bytes)); in __anon9c4d722b1a02()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/common/
Dshard_pybind.cc358 void adl_serializer<py::object>::ToJson(json *j, const py::object &obj) { in ToJson() function in nlohmann::adl_serializer::object