(note: required by FasterXML/jackson-databind#1381)
There is need to extend @JacksonInject with couple of things:
- Value object (
JacksonInject.Value) for representing all properties at databind level (to allow merging, possibly setting defaults)
- New property
useInput, with value type of OptBoolean: if enabled (OptBoolean.TRUE), input value would override injected default
- Default is
OptBoolean.TRUE for backwards compatibility; value of OptBoolean.DEFAULT is taken to mean the same
(note: required by FasterXML/jackson-databind#1381)
There is need to extend
@JacksonInjectwith couple of things:JacksonInject.Value) for representing all properties at databind level (to allow merging, possibly setting defaults)useInput, with value type ofOptBoolean: if enabled (OptBoolean.TRUE), input value would override injected defaultOptBoolean.TRUEfor backwards compatibility; value ofOptBoolean.DEFAULTis taken to mean the same