Fix crash when attempting to parse a JSON document that contains an extension field for the wrong type of message.
I.e., if foo.extn is an extension for message foo.Foo, attempting to parse the document {"[foo.extn]": 4} as a foo.Bar would crash. This CL causes the parser to return an error instead. PiperOrigin-RevId: 501299336pull/11472/head
parent
d36a64116f
commit
9244d121b4
2 changed files with 13 additions and 0 deletions
Loading…
Reference in new issue