Home
last modified time | relevance | path

Searched refs:ParseJson (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs79 Assert.AreEqual(expected, TestAllTypes.Parser.ParseJson(json)); in OriginalFieldNameAccepted()
195 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullElementProhibited()
202 Assert.AreEqual(new TestAllTypes(), TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullOverallValueAllowed()
211 Assert.Throws<InvalidProtocolBufferException>(() => TestMap.Parser.ParseJson(json)); in MapField_NullValueProhibited()
218 Assert.AreEqual(new TestMap(), TestMap.Parser.ParseJson(json)); in MapField_NullOverallValueAllowed()
224 … Assert.AreEqual(new StringValue { Value = "foo" }, StringValue.Parser.ParseJson("\"foo\"")); in IndividualWrapperTypes()
225 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("1")); in IndividualWrapperTypes()
227 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("\"1\"")); in IndividualWrapperTypes()
248 var parsed = TestAllTypes.Parser.ParseJson(json); in StringToInt32_Valid()
267 … Assert.Throws<InvalidProtocolBufferException>(() => TestAllTypes.Parser.ParseJson(json)); in StringToInt32_Invalid()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DMessageParser.cs133 public IMessage ParseJson(string json) in ParseJson() method in Google.Protobuf.MessageParser
260 public new T ParseJson(string json) in ParseJson() method in Google.Protobuf.MessageParser
/external/v8/src/
Djson-parser.h44 JsonParser(isolate, source).ParseJson(), Object); in Parse()
57 MaybeHandle<Object> ParseJson();
Djson-parser.cc121 MaybeHandle<Object> JsonParser<seq_one_byte>::ParseJson() { in ParseJson() function in v8::internal::JsonParser
/external/tensorflow/tensorflow/contrib/cloud/kernels/
Dbigquery_table_accessor.cc34 Status ParseJson(StringPiece json, Json::Value* result) { in ParseJson() function
199 TF_RETURN_IF_ERROR(ParseJson(response_piece, &root)); in ReadRow()
278 TF_RETURN_IF_ERROR(ParseJson(response_piece, &root)); in ReadSchema()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc221 Status ParseJson(StringPiece json, Json::Value* result) { in ParseJson() function
229 Status ParseJson(const std::vector<char>& json, Json::Value* result) { in ParseJson() function
230 return ParseJson(StringPiece{json.data(), json.size()}, result); in ParseJson()
982 TF_RETURN_IF_ERROR(ParseJson(output_buffer, &root)); in StatForObject()
1147 TF_RETURN_IF_ERROR(ParseJson(output_buffer, &root)); in GetChildrenBounded()
1359 TF_RETURN_IF_ERROR(ParseJson(output_buffer, &root)); in RenameObject()