Skip to content

Two JSON keys, One Object Property #119

@beloso

Description

@beloso

I have two possible JSON payloads for a given object.

In one payload there is a key A
In another payload there is a key B

I want to use the same object for both, is it possible to tell marshal that the value for property C can be in either A or B?

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