Skip to content

APIv2: Support magic methods on messages in MarshalJSONPB, etc. #1017

Closed
@au-phiware

Description

@au-phiware

The v1 API's jsonpb package checks for custom MarshalJSONPB and UnmarshalJSONPB methods on the type being operated on, and use it when present.

The v2 API should preserve this behaviour, or at least provide an alternative mechanism to customise the behaviour of the marshaller/unmarshaller with respect to a nominated message type.

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