nixzhu / Baby

Create models from a JSON file, even a Baby can do it.

Home Page:https://apps.apple.com/cn/app/ducky-model-editor/id1525505933

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Suggestion] Allow using `convertFromSnakeCase` strategy instead of CodingKeys

ApolloZhu opened this issue · comments

It's not really a problem, but I think this is a great feature that you might want to implement. See the following link for more details.

https://developer.apple.com/documentation/foundation/jsondecoder.keydecodingstrategy/2949105-convertfromsnakecase

@ApolloZhu It’s on my todo list.

@ApolloZhu Baby version 0.31.0 has a new option --convert-from-snake-case can helps you.