| Package | Description |
|---|---|
| com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonGenerator)
instances. |
| com.fasterxml.jackson.core.io | |
| com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
| 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) |
| Modifier and Type | Field and Description |
|---|---|
protected static ThreadLocal<SoftReference<BufferRecycler>> |
BufferRecyclers._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 |
|---|---|
static BufferRecycler |
BufferRecyclers.getBufferRecycler()
Main accessor to call for accessing possibly recycled
BufferRecycler instance. |
| Constructor and Description |
|---|
ByteArrayBuilder(BufferRecycler br) |
ByteArrayBuilder(BufferRecycler br,
int firstBlockSize) |
TextBuffer(BufferRecycler allocator) |
TextBuffer(BufferRecycler allocator,
char[] initialSegment) |
Copyright © 2008–2021 FasterXML. All rights reserved.