public final JsonNodeFactory getNodeFactory() { return _config.getNodeFactory(); }
/** * Method that can be used to get hold of {@link JsonNodeFactory} * that this mapper will use when directly constructing * root {@link JsonNode} instances for Trees. *<p> * Note: this is just a shortcut for calling *<pre> * getDeserializationConfig().getNodeFactory() *</pre> * * @since 1.2 */ public JsonNodeFactory getNodeFactory() { return _deserializationConfig.getNodeFactory(); }
/** *<p> * Note: return type is co-variant, as basic ObjectCodec * abstraction can not refer to concrete node types (as it's * part of core package, whereas impls are part of mapper * package) * * @since 1.2 */ @Override public ArrayNode createArrayNode() { return _deserializationConfig.getNodeFactory().arrayNode(); }
/** *<p> * Note: return type is co-variant, as basic ObjectCodec * abstraction can not refer to concrete node types (as it's * part of core package, whereas impls are part of mapper * package) * * @since 1.2 */ @Override public ObjectNode createObjectNode() { return _deserializationConfig.getNodeFactory().objectNode(); }
@Override public JsonNode createArrayNode() { return _config.getNodeFactory().arrayNode(); }
@Override public JsonNode createObjectNode() { return _config.getNodeFactory().objectNode(); }
/** * Method for constructing a new reader instance with configuration that uses * passed {@link JsonNodeFactory} for constructing {@link JsonNode} * instances. *<p> * Note that the method does NOT change state of this reader, but * rather construct and returns a newly configured instance. */ public ObjectReader withNodeFactory(JsonNodeFactory f) { // node factory is stored within config, so need to copy that first if (f == _config.getNodeFactory()) return this; return new ObjectReader(this, _config.withNodeFactory(f), _valueType, _valueToUpdate, _schema, _injectableValues); }
public final JsonNodeFactory getNodeFactory() { return _config.getNodeFactory(); }
/** * Method that can be used to get hold of {@link JsonNodeFactory} * that this mapper will use when directly constructing * root {@link JsonNode} instances for Trees. *<p> * Note: this is just a shortcut for calling *<pre> * getDeserializationConfig().getNodeFactory() *</pre> * * @since 1.2 */ public JsonNodeFactory getNodeFactory() { return _deserializationConfig.getNodeFactory(); }
@Override public JsonNode createObjectNode() { return _config.getNodeFactory().objectNode(); }
@Override public JsonNode createArrayNode() { return _config.getNodeFactory().arrayNode(); }
/** *<p> * Note: return type is co-variant, as basic ObjectCodec * abstraction can not refer to concrete node types (as it's * part of core package, whereas impls are part of mapper * package) * * @since 1.2 */ @Override public ArrayNode createArrayNode() { return _deserializationConfig.getNodeFactory().arrayNode(); }
/** *<p> * Note: return type is co-variant, as basic ObjectCodec * abstraction can not refer to concrete node types (as it's * part of core package, whereas impls are part of mapper * package) * * @since 1.2 */ @Override public ObjectNode createObjectNode() { return _deserializationConfig.getNodeFactory().objectNode(); }
/** * Method for constructing a new reader instance with configuration that uses * passed {@link JsonNodeFactory} for constructing {@link JsonNode} * instances. *<p> * Note that the method does NOT change state of this reader, but * rather construct and returns a newly configured instance. */ public ObjectReader withNodeFactory(JsonNodeFactory f) { // node factory is stored within config, so need to copy that first if (f == _config.getNodeFactory()) return this; return new ObjectReader(this, _config.withNodeFactory(f), _valueType, _valueToUpdate, _schema, _injectableValues); }
@Override public JsonNode createArrayNode() { return _config.getNodeFactory().arrayNode(); }
/** *<p> * Note: return type is co-variant, as basic ObjectCodec * abstraction can not refer to concrete node types (as it's * part of core package, whereas impls are part of mapper * package) * * @since 1.2 */ @Override public ObjectNode createObjectNode() { return _deserializationConfig.getNodeFactory().objectNode(); }
@Override public JsonNode createObjectNode() { return _config.getNodeFactory().objectNode(); }
/** *<p> * Note: return type is co-variant, as basic ObjectCodec * abstraction can not refer to concrete node types (as it's * part of core package, whereas impls are part of mapper * package) * * @since 1.2 */ @Override public ArrayNode createArrayNode() { return _deserializationConfig.getNodeFactory().arrayNode(); }
public ObjectReader withNodeFactory(JsonNodeFactory f) { // node factory is stored within config, so need to copy that first if (f == _config.getNodeFactory()) return this; return new ObjectReader(this, _config.withNodeFactory(f), _valueType, _valueToUpdate, _schema); }
public ObjectReader withNodeFactory(JsonNodeFactory f) { // node factory is stored within config, so need to copy that first if (f == _config.getNodeFactory()) return this; return new ObjectReader(this, _config.withNodeFactory(f), _valueType, _valueToUpdate, _schema, _injectableValues); }