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 and Description |
---|---|
protected static ThreadLocal<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 and Description |
---|---|
BufferRecycler |
JsonFactory._getBufferRecycler()
Method used by factory to create buffer recycler instances
for parsers and generators.
|
Modifier and Type | Field and Description |
---|---|
protected BufferRecycler |
IOContext._bufferRecycler
Recycler used for actual allocation/deallocation/reuse
|
Constructor and Description |
---|
IOContext(BufferRecycler br,
Object sourceRef,
boolean managedResource) |
SegmentedStringWriter(BufferRecycler br) |
Constructor and Description |
---|
ByteArrayBuilder(BufferRecycler br) |
ByteArrayBuilder(BufferRecycler br,
int firstBlockSize) |
TextBuffer(BufferRecycler allocator) |