Skip to content

Feature: Rename fields #9

@glensc

Description

@glensc

Say I have input data:

{
  "name": "boo",
  "full name": "baz"
}

I would need to store "full name" in a valid property name, $fullName or $full_name, hence need. to do some name mapping.

python dataclases have some __post_init__:

maybe a similar static method could be called from the class if the magic method exists?

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