In early spray-json (1.2.5) JsObject keeps fields in ListMap, v1.3.0 has changed it to Map.
This loses the field ordering for case classes.
Would you be open to allow the fields type to be configurable so the user code can switch it to ListMap when needed?
(adding a JsObject construction function to DefaultJsonProtocol or something)
Since the ordering is not required per json specs, it is merely just for human reading convenience, I want to get your opinion on this.
Thanks!
Henry