Package | Description |
---|---|
com.fasterxml.jackson.jr.ob | |
com.fasterxml.jackson.jr.ob.impl |
Modifier and Type | Method | Description |
---|---|---|
JSON |
JSON.with(CollectionBuilder b) |
Mutant factory for constructing an instance with specified
CollectionBuilder ,
and returning new instance (or, if there would be no change, this instance). |
Modifier and Type | Class | Description |
---|---|---|
static class |
CollectionBuilder.Default |
Default
CollectionBuilder implementation, which uses ArrayList
as the type of List to build, unless instructed otherwise. |
Modifier and Type | Field | Description |
---|---|---|
protected CollectionBuilder |
JSONReader._collectionBuilder |
Handler that takes care of constructing
Map s as needed |
Modifier and Type | Method | Description |
---|---|---|
protected CollectionBuilder |
JSONReader._collectionBuilder(Class<?> collType) |
|
abstract CollectionBuilder |
CollectionBuilder.add(Object value) |
|
CollectionBuilder |
CollectionBuilder.Default.add(Object value) |
|
static CollectionBuilder |
CollectionBuilder.defaultImpl() |
Factory method for getting a blueprint instance of the default
CollectionBuilder implementation. |
CollectionBuilder |
CollectionBuilder.Default.newBuilder(int features) |
|
CollectionBuilder |
CollectionBuilder.Default.newBuilder(Class<?> collType) |
|
CollectionBuilder |
CollectionBuilder.newBuilder() |
|
abstract CollectionBuilder |
CollectionBuilder.newBuilder(int features) |
|
abstract CollectionBuilder |
CollectionBuilder.newBuilder(Class<?> collImpl) |
|
CollectionBuilder |
CollectionBuilder.Default.start() |
|
abstract CollectionBuilder |
CollectionBuilder.start() |
Modifier and Type | Method | Description |
---|---|---|
protected JSONReader |
JSONReader._with(int features,
TypeDetector td,
com.fasterxml.jackson.core.TreeCodec tc,
CollectionBuilder lb,
MapBuilder mb) |
Overridable method that all mutant factories call if a new instance
is to be constructed
|
Object[] |
AnyReader.readArrayFromArray(JSONReader r,
com.fasterxml.jackson.core.JsonParser p,
CollectionBuilder b) |
|
Collection<Object> |
AnyReader.readCollectionFromArray(JSONReader r,
com.fasterxml.jackson.core.JsonParser p,
CollectionBuilder b) |
|
JSONReader |
JSONReader.with(CollectionBuilder lb) |
Constructor | Description |
---|---|
JSONReader(int features,
TypeDetector td,
com.fasterxml.jackson.core.TreeCodec treeCodec,
CollectionBuilder lb,
MapBuilder mb) |
Constructor used for creating the blueprint instances.
|
Copyright © 2018. All rights reserved.