Property serialization order using STJ's JsonObject
otherintermediate
I am working with JsonObjects directly due to some business logic needs. Problem is there is another app that consumes the JSON that we serialize using JsonObject and there is seemingly a massive performance benefit when we serialize our
$type
$type
as the first property of our objects (verified by manually constructing the json in this way for a unit test.) There doesn't seem to be an easy way to reorder my properties in the JsonObject. Not sure what my options are here.