wangyao5 / json-smart

Automatically exported from code.google.com/p/json-smart
0 stars 0 forks source link

If data resultset from database by ordered, json outputed info is ordered?? #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If data resultset from database by ordered, json outputed info is ordered??

Original issue reported on code.google.com by linzuxio...@gmail.com on 3 Feb 2012 at 8:48

GoogleCodeExporter commented 9 years ago
Arrays are ordered, Object fields are not ordered by default.
To Keep inertion order in json Object use:
-ContainerFactory.FACTORY_ORDERED in Json-smart 1.X
-DefaultMapperOrdered.DEFAULT in Json-smart 2.X

Give me some more details for a better answer.

Original comment by uriel.chemouni on 10 Feb 2012 at 6:51

GoogleCodeExporter commented 9 years ago

Original comment by uriel.chemouni on 5 Mar 2012 at 1:43

GoogleCodeExporter commented 9 years ago

Original comment by uriel.chemouni on 3 Apr 2012 at 9:58

GoogleCodeExporter commented 9 years ago
Hi , All.
I wanna be a developer of json-smart !

Allowed?
And, please publish the class diagram .

Thank you!

Original comment by linzuxio...@gmail.com on 18 Apr 2012 at 2:01