|
JSON Version 1.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
JsonParser
that exposes contents as JSON
tokens
SymbolTable.findSymbol(char[],int,int,int)
; used to either
do potentially cheap intern() (if table already has intern()ed version),
or to pre-populate symbol table with known values.
JsonToken.VALUE_NUMBER_INT
and
it can be expressed as a Java int primitive type.
JsonToken.VALUE_NUMBER_INT
and
it can be expressed as a Java long primitive type.
JsonToken.VALUE_NUMBER_INT
or
JsonToken.VALUE_NUMBER_FLOAT
, returns
one of type constants; otherwise returns null.
JsonNode.getFieldValue(java.lang.String)
, except
that instead of returning null if no such value exists (due
to this node not being an object, or object not having value
for the specified field),
a "missing node" (node that returns true for
JsonNode.isMissingNode()
) will be returned.
JsonNode.getElementValue(int)
, except
that instead of returning null if no such element exists (due
to index being out of range, or this node not being an array),
a "missing node" (node that returns true for
JsonNode.isMissingNode()
) will be returned.
ReaderBasedParser.nextToken()
, or
after encountering end-of-input), returns null.
JsonParser.nextToken()
, or
after encountering end-of-input), returns null.
JsonNode.isValueNode()
returns true), otherwise null.
InputStream
implementation that is used to "unwind" some
data previously read from an input stream; so that as long as some of
that data remains, it's returned; but as long as it's read, we'll
just use data from the underlying original stream.mBuckets.length - 1
, when mBuckets.length is
a power of two.
WriterBasedGenerator.mWriter
.
JsonParser
, which is
based on a Reader
to handle low-level character
conversion tasks.StringBuffer
, with
following differences:
TextBuffer uses segments character arrays, to avoid having
to do additional array copies when array is not big enough.contentsAsString()
, since it's not guaranteed that resulting
String is cached.
DefaultPrettyPrinter
).
JavaTypeSerializer
.
JavaTypeSerializer
.
JavaTypeSerializer
.
JavaTypeSerializer
.
|
JSON Version 1.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |