FasterXML / jackson-annotations

Core annotations (annotations that only depend on jackson-core) for Jackson data processor
https://github.com/FasterXML/jackson
Apache License 2.0
1.03k stars 330 forks source link

Add new Type Id type, EXISTING_PROPERTY #15

Closed cowtowncoder closed 11 years ago

cowtowncoder commented 11 years ago

(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 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.

cowtowncoder commented 11 years ago

Added.