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

[FEATURE] 提供原生类字段顺序输出的支持 #279

Closed
wenshao opened this issue May 18, 2022 · 2 comments
Closed

[FEATURE] 提供原生类字段顺序输出的支持 #279

wenshao opened this issue May 18, 2022 · 2 comments
Labels
enhancement New feature or request fixed
Milestone

Comments

@wenshao
Copy link
Member

wenshao commented May 18, 2022

参考PR
#245

@wenshao wenshao added the enhancement New feature or request label May 18, 2022
@wenshao wenshao added this to the 2.0.6 milestone May 24, 2022
@wenshao wenshao modified the milestones: 2.0.6, 2.0.7 Jun 4, 2022
@wenshao wenshao modified the milestones: 2.0.7, 2.0.8 Jun 11, 2022
@wenshao wenshao modified the milestones: 2.0.8, 2.0.9 Jun 25, 2022
@wenshao wenshao modified the milestones: 2.0.9, 2.0.10 Jul 10, 2022
@wenshao wenshao modified the milestones: 2.0.10, 2.0.11 Jul 23, 2022
@wenshao wenshao modified the milestones: 2.0.11, 2.0.12 Jul 31, 2022
@wenshao wenshao modified the milestones: 2.0.12, 2.0.13 Aug 20, 2022
@wenshao
Copy link
Member Author

wenshao commented Aug 31, 2022

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.13-SNAPSHOT/
请用2.0.13-SNAPSHOT版本验证,2.0.13版本预计在9月12日前发布。需要配置JSONType.alphabetic = true,比如

@JSONType(alphabetic=false)
public class SystemUser {
	private Integer id;
	private String code;
	private String password;
}

这个取决于编译器的行为,顺序不确定的

@wenshao wenshao added the fixed label Aug 31, 2022
@wenshao
Copy link
Member Author

wenshao commented Sep 10, 2022

https://github.com/alibaba/fastjson2/releases/tag/2.0.13
2.0.13版本已经发布,请用帮忙用新版本验证

@wenshao wenshao closed this as completed Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed
Projects
None yet
Development

No branches or pull requests

1 participant