Options for parsing JSON data.

interface JsonReadOptions {
    ignoreUnknownFields: boolean;
    typeRegistry?: IMessageTypeRegistry;
}

Properties

ignoreUnknownFields: boolean

Ignore unknown fields: Proto3 JSON parser should reject unknown fields by default. This option ignores unknown fields in parsing, as well as unrecognized enum string representations.

typeRegistry?: IMessageTypeRegistry

This option is required to read google.protobuf.Any from JSON format.

Generated using TypeDoc