Package | Description |
---|---|
org.codehaus.jackson |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonParser )
instances. |
org.codehaus.jackson.io |
This package contains I/O helper classes Jackson itself uses, but that
are not exposed for external reuse.
|
org.codehaus.jackson.util |
Utility classes used by Jackson Core functionality.
|
Modifier and Type | Field | Description |
---|---|---|
protected static java.lang.ThreadLocal<java.lang.ref.SoftReference<BufferRecycler>> |
JsonFactory._recyclerRef |
This
ThreadLocal contains a SoftReference
to a BufferRecycler used to provide a low-cost
buffer recycling between reader and writer instances. |
Modifier and Type | Method | Description |
---|---|---|
BufferRecycler |
JsonFactory._getBufferRecycler() |
Method used by factory to create buffer recycler instances
for parsers and generators.
|
Modifier and Type | Field | Description |
---|---|---|
protected BufferRecycler |
IOContext._bufferRecycler |
Recycler used for actual allocation/deallocation/reuse
|
Constructor | Description |
---|---|
IOContext(BufferRecycler br,
java.lang.Object sourceRef,
boolean managedResource) |
|
SegmentedStringWriter(BufferRecycler br) |
Constructor | Description |
---|---|
ByteArrayBuilder(BufferRecycler br) |
|
ByteArrayBuilder(BufferRecycler br,
int firstBlockSize) |
|
TextBuffer(BufferRecycler allocator) |