程序包 | 说明 |
---|---|
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.
|
限定符和类型 | 字段和说明 |
---|---|
protected static ThreadLocal<SoftReference<BufferRecycler>> |
JsonFactory._recyclerRef
This
ThreadLocal contains a SoftRerefence
to a BufferRecycler used to provide a low-cost
buffer recycling between reader and writer instances. |
限定符和类型 | 方法和说明 |
---|---|
BufferRecycler |
JsonFactory._getBufferRecycler()
Method used by factory to create buffer recycler instances
for parsers and generators.
|
限定符和类型 | 字段和说明 |
---|---|
protected BufferRecycler |
IOContext._bufferRecycler
Recycler used for actual allocation/deallocation/reuse
|
构造器和说明 |
---|
IOContext(BufferRecycler br,
Object sourceRef,
boolean managedResource) |
SegmentedStringWriter(BufferRecycler br) |
构造器和说明 |
---|
ByteArrayBuilder(BufferRecycler br) |
ByteArrayBuilder(BufferRecycler br,
int firstBlockSize) |
TextBuffer(BufferRecycler allocator) |