My next serialization challenge is to conjure up a...
# serialization
p
My next serialization challenge is to conjure up a serializer for the abstract class Number. My first guess would be to use @Contextual. Good guess? But since I may have to tweak the actual Json, JsonTransformingSerializer might be better.
I used a JsonTransformingSerializer to obtain a somewhat brute force solution which can be seen here and the tests here. Can someone suggest an alternative, simpler solution?