Closed Andreas-Forster closed 1 year ago
I somehow did not like the ...JSON... in CamelCase :-), but reverted it now for clarity.
I renamed the package mappers into formats, then it's intention is more clear. The most important class is the RenderParameterJSONFormats with most mappers for the default serialization format.
The other classes in there represent the former parameters and serialization structures better. I also found it more readable to define a case class representing the old serialization structure and serialize it with the marcoRW. Of course the other option with just a readwriter...bimap .... might also a possible option. I just hope nobody needs to dig into it anymore. Maybe deprecating some formats would also be an option in the future.
perfect. Thanks a lot. Then I think it is good to merge.
This PR replaces spray json with ujson as dependency.
While the tests are reordered a bit, they are covering the same functionality as before and they pass.