Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

JSON类中的toJSONString,某些方法里夹带私货。。。 #314

Closed
axeon opened this issue Apr 7, 2015 · 1 comment
Closed

JSON类中的toJSONString,某些方法里夹带私货。。。 #314

axeon opened this issue Apr 7, 2015 · 1 comment
Milestone

Comments

@axeon
Copy link

axeon commented Apr 7, 2015

私货如下:
serializer.config(SerializerFeature.WriteDateUseDateFormat, true);

我认为,一切预定义都应该存在于JSON.DEFAULT_GENERATE_FEATURE,因为上面那行私货,导致了很多麻烦!

建议去掉。

@wenshao
Copy link
Member

wenshao commented Apr 13, 2016

已经解决,谢谢反馈

@wenshao wenshao closed this as completed Apr 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants