-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
I am serializing using the following constructor:
Genson genson = new GensonBuilder()
.useClassMetadata(true)
.useFields(true)
.useRuntimeType(true)
.setSkipNull(true)
.useStrictDoubleParse(true)
.useClassMetadataWithStaticType(true)
.create();
However, the @Class declaration is not always the first property in the json. My classes are rather simple, but nested. I'm using only public fields. Would there be any reason for this or is there a way to force an ordering on the fields on serialization? Finally, I've tried a few different optoins on the Genson builder but always get the same result. Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels