79475208

Date: 2025-02-28 10:27:42
Score: 0.5
Natty:
Report link

After protobuf 3.8
We can use this parse.AllowUnknownField(true); .

But it well report warning msg to stderr in default, and the Parser has another API to catch the msg:

void Parser::RecordErrorsTo(io::ErrorCollector * error_collector)

reference: https://github.com/protocolbuffers/protobuf/issues/5465

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: IclodQ