@Override public T deserialize(final JsonParser jp, final DeserializationContext ctxt) throws IOException, JsonProcessingException { client = (ODataClient) ctxt.findInjectableValue(ODataClient.class.getName(), null, null); return doDeserialize(jp, ctxt); }
public void inject(SettableBeanProperty[] injectableProperties) { for (int i = 0, len = injectableProperties.length; i < len; ++i) { SettableBeanProperty prop = injectableProperties[i]; if (prop != null) { // null since there is no POJO yet _creatorParameters[i] = _context.findInjectableValue(prop.getInjectableValueId(), prop, null); } } }