samujjwal / google-gson

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

Serialization in order #617

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I am using Gson library for serialization, In gson after serialization fields 
are not in order(I mean order however it was in that model class).But it gives 
some random order.

What is the expected output? What do you see instead?
I want Serialization to be done in that same order(fields order inside that 
model class)

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by harshith...@gmail.com on 30 Dec 2014 at 4:58