Closed acethepace closed 3 years ago
Not sure if this is already available but I have a case where I want to change the key name for it to match the object completely. Couldn't find anything in the docs so I've raised it as a feature request.
JSON : { player: [{...}] } Object : { players: [{...}] }
I want to enable the mapping from player to players based on a configuration.
Hi @acethepace - thank you for reporting this issue :)
This feature was discussed many times (e.g. #115, #108). Long story short - I think it's out of scope of dacite library. Please read more here - #38
dacite
Not sure if this is already available but I have a case where I want to change the key name for it to match the object completely. Couldn't find anything in the docs so I've raised it as a feature request.
I want to enable the mapping from player to players based on a configuration.