It would make sense to add one new value for JsonTypeInfo.As enumeration: EXISTING_PROPERTY. Its semantics would be similar to PROPERTY on deserialization; but on serialization, it would be assumed that standard property serialization is used, and so TypeSerializer can be a no-operation.
(note: addition needed to implement https://github.com/FasterXML/jackson-databind/issues/250 for databind)
It would make sense to add one new value for
JsonTypeInfo.As
enumeration:EXISTING_PROPERTY
. Its semantics would be similar toPROPERTY
on deserialization; but on serialization, it would be assumed that standard property serialization is used, and soTypeSerializer
can be a no-operation.