You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: