#include </data/code/userver/libraries/protobuf/include/userver/protobuf/json/convert_options.hpp>
Options which affect how JSON Value is converted to a protobuf message.
Definition at line 11 of file convert_options.hpp.
Public Attributes | |
| bool | ignore_unknown_fields = false |
| Ignore unknown JSON fields and enum value names. If not set, conversion of a JSON object containing unknown field (i.e. field that is not mapped to any protobuf message field) or unknown enum value name will fail. | |
| bool protobuf::json::ParseOptions::ignore_unknown_fields = false |
Ignore unknown JSON fields and enum value names. If not set, conversion of a JSON object containing unknown field (i.e. field that is not mapped to any protobuf message field) or unknown enum value name will fail.
Definition at line 15 of file convert_options.hpp.