Skip to content

Handling multiple name alternatives #18

@ReubenJ

Description

@ReubenJ

I have a set of JSON files with some inconsistent keys. It'd be handy to be able to specify multiple alternative names for a field à la

struct SomeStruct
    my_field & (json=(name=("MyField", "myfield", "field_my")))
end

Is there a way to do this already? If not, is it within the scope of the package to support something like this?

On second thought, maybe this is better suited for the JSON repo...

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