Similar to this stackoverflow thread Jackson with JSON: Unrecognized field, not marked as ignorable
I am getting com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field error.
I don't want to have to save this value in a field on the class. I want it to be computed when it is being serialized. And possibly ignored when it is being deserialized (because then I can just recompute it)
I think this may have to do with the fact that these methods are never called. Because other computed methods which being called are being serialized just fine.