Home
last modified time | relevance | path

Searched refs:ignore_unknown_fields (Results 1 – 14 of 14) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/
Djson_util_test.cc307 options.ignore_unknown_fields = true; in TEST_F()
374 options.ignore_unknown_fields = true; in TEST_F()
391 options.ignore_unknown_fields = true; in TEST_F()
400 ASSERT_FALSE(options.ignore_unknown_fields); in TEST_F()
409 options.ignore_unknown_fields = true; in TEST_F()
424 options.ignore_unknown_fields = true; in TEST_F()
437 options.ignore_unknown_fields = true; in TEST_F()
439 options.ignore_unknown_fields = false; in TEST_F()
451 options.ignore_unknown_fields = true; in TEST_F()
Djson_util.cc185 proto_writer_options.ignore_unknown_fields = options.ignore_unknown_fields; in JsonToBinaryStream()
187 options.ignore_unknown_fields; in JsonToBinaryStream()
Djson_util.h53 bool ignore_unknown_fields; member
63 : ignore_unknown_fields(false), in JsonParseOptions()
/third_party/protobuf/python/google/protobuf/
Djson_format.py411 def Parse(text, message, ignore_unknown_fields=False, descriptor_pool=None): argument
432 return ParseDict(js, message, ignore_unknown_fields, descriptor_pool)
437 ignore_unknown_fields=False, argument
451 parser = _Parser(ignore_unknown_fields, descriptor_pool)
462 def __init__(self, ignore_unknown_fields, descriptor_pool): argument
463 self.ignore_unknown_fields = ignore_unknown_fields
520 if self.ignore_unknown_fields:
/third_party/protobuf/src/google/protobuf/util/internal/
Dproto_writer.h144 void set_ignore_unknown_fields(bool ignore_unknown_fields) { in set_ignore_unknown_fields() argument
145 ignore_unknown_fields_ = ignore_unknown_fields; in set_ignore_unknown_fields()
148 bool ignore_unknown_fields() { return ignore_unknown_fields_; } in ignore_unknown_fields() function
Dprotostream_objectwriter.h84 bool ignore_unknown_fields; member
105 ignore_unknown_fields(false), in Options()
Dprotostream_objectwriter_test.cc892 options_.ignore_unknown_fields = true; in TEST_P()
911 options_.ignore_unknown_fields = true; in TEST_P()
938 options_.ignore_unknown_fields = true; in TEST_P()
954 options_.ignore_unknown_fields = true; in TEST_P()
973 options_.ignore_unknown_fields = true; in TEST_P()
987 options_.ignore_unknown_fields = true; in TEST_P()
Dprotostream_objectwriter.cc72 set_ignore_unknown_fields(options_.ignore_unknown_fields); in ProtoStreamObjectWriter()
86 set_ignore_unknown_fields(options_.ignore_unknown_fields); in ProtoStreamObjectWriter()
/third_party/protobuf/conformance/
Dconformance_python.py133 ignore_unknown_fields = \
137 ignore_unknown_fields)
Dconformance_cpp.cc125 options.ignore_unknown_fields = in DoTest()
/third_party/protobuf/python/google/protobuf/internal/
Djson_format_test.py933 json_format.Parse(text, parsed_message, ignore_unknown_fields=True)
941 json_format.Parse(text, parsed_message, ignore_unknown_fields=True)
/third_party/protobuf/ruby/tests/
Dbasic.rb418 }.to_json, { ignore_unknown_fields: true })
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c1094 VALUE ignore_unknown_fields = Qfalse; in Message_decode_json() local
1107 ignore_unknown_fields = rb_hash_lookup2( in Message_decode_json()
1140 &se.status, RTEST(ignore_unknown_fields)); in Message_decode_json()
/third_party/protobuf/
DCHANGES.txt508 …n specify an option to ignore unknown fields: msg.decode_json(data, {ignore_unknown_fields: true}).