Closed jrudolph closed 5 years ago
The main drawback is that you always have to write jsonFormatN(X.apply _) instead of jsonFormat15(X) which worked before if X had no companion object.
jsonFormatN(X.apply _)
jsonFormat15(X)
X
The trade-off seems still worthwhile, needs a bit of relearning but then it's much easier to add and remove fields.
Refs #310
Failure related to https://github.com/spray/spray-json/pull/320. Will rebase after that one is merged to reverify.
The main drawback is that you always have to write
jsonFormatN(X.apply _)
instead ofjsonFormat15(X)
which worked before ifX
had no companion object.The trade-off seems still worthwhile, needs a bit of relearning but then it's much easier to add and remove fields.
Refs #310