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.
pajatopmr
12/12/2020, 3:53 AM
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?