Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json文件带下划线情况下生成大驼峰类名,key带下划线或者空格时生成小驼峰成员名 #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

honjow
Copy link

@honjow honjow commented Jan 10, 2022

主要处理 #31 说到的问题。#52 也是类似,虽然可以用meta指定类名,但是作为被引用方时,import还是会有问题
json文件中key包含下划线的时候,生成的成员自动以@JsonKey(name: '原始key') 小驼峰key 方式输出。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant