public ObjectReader withValueToUpdate(Object value) { if (value == _valueToUpdate) return this; if (value == null) { throw new IllegalArgumentException("cat not update null value"); } JavaType t = _config.constructType(value.getClass()); return new ObjectReader(this, _config, t, value, _schema, _injectableValues); }
public ObjectReader withType(Class<?> valueType) { return withType(_config.constructType(valueType)); }