Skip to content

Field Configuration in Serialization #20

@AMythicDev

Description

@AMythicDev

As I am building the serializer, I think we need some sort of way to deal with formatting configuration for the individual fields like which fields need to be serialized as a top level table and which should be written as a inline table.

I am kinda unsure about how to go about this. We can use a StringHashMap where keys are the fully qualified paths and value will be a struct like FieldConfig which contains all the options that can be set for a field.

I am not sure about this one but we can also go with a anonymous tuple.

Would love to know your opinions on this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions