Skip to content

Add support for unknown fields in JSON serialization #49

@skybrian

Description

@skybrian

When reading and writing protobufs to JSON, we currently only serialize extensions if they are registered. Unknown fields are ignored.

This is a problem for the JSON-encoded constants for metadata in .pb.dart files. Any extensions in the original protobuf descriptor get stripped. It would be good to encode them somehow, instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions