| 程序包 | 说明 |
|---|---|
| org.hotwheel.json.impl.jackson |
| 限定符和类型 | 类和说明 |
|---|---|
class |
JsonParserDelegate
Helper class that implements
delegation pattern for
JacksonParser,
to allow for simple overridability of basic parsing functionality. |
class |
JsonParserSequence
Helper class that can be used to sequence multiple physical
JacksonParsers to create a single logical sequence of
tokens, as a single JacksonParser. |
class |
ParserBase
Intermediate base class used by all Jackson
JacksonParser
implementations. |
class |
ParserMinimalBase
Intermediate base class used by all Jackson
JacksonParser
implementations, but does not add any additional fields that depend
on particular method of obtaining input. |
class |
ReaderBasedJsonParser
This is a concrete implementation of
JacksonParser, which is
based on a Reader to handle low-level character
conversion tasks. |
class |
UTF8StreamJsonParser
This is a concrete implementation of
JacksonParser, which is
based on a InputStream as the input source. |
| 限定符和类型 | 方法和说明 |
|---|---|
JacksonParser |
JacksonParser.configure(JacksonParser.Feature f,
boolean state)
Method for enabling or disabling specified feature
(check
JacksonParser.Feature for list of features) |
JacksonParser |
ByteSourceJsonBootstrapper.constructParser(int parserFeatures,
ObjectCodec codec,
BytesToNameCanonicalizer rootByteSymbols,
CharsToNameCanonicalizer rootCharSymbols,
boolean canonicalize,
boolean intern) |
JacksonParser |
JsonFactory.createJsonParser(byte[] data)
Method for constructing parser for parsing the contents of given byte
array.
|
JacksonParser |
JsonFactory.createJsonParser(byte[] data,
int offset,
int len)
Method for constructing parser for parsing the contents of given byte
array.
|
JacksonParser |
JsonFactory.createJsonParser(File f)
Method for constructing JSON parser instance to parse contents of
specified file.
|
JacksonParser |
JsonFactory.createJsonParser(InputStream in)
Method for constructing JSON parser instance to parse the contents
accessed via specified input stream.
|
JacksonParser |
JsonFactory.createJsonParser(Reader r)
Method for constructing parser for parsing the contents accessed via
specified Reader.
|
JacksonParser |
JsonFactory.createJsonParser(String content)
Method for constructing parser for parsing contents of given String.
|
JacksonParser |
JsonFactory.createJsonParser(URL url)
Method for constructing JSON parser instance to parse contents of
resource reference by given URL.
|
JacksonParser |
DataFormatMatcher.createParserWithMatch()
Convenience method for trying to construct a
JacksonParser for
parsing content which is assumed to be in detected data format. |
JacksonParser |
JsonParserDelegate.disable(JacksonParser.Feature f) |
JacksonParser |
JacksonParser.disable(JacksonParser.Feature f)
Method for disabling specified feature
(check
JacksonParser.Feature for list of features) |
JacksonParser |
JsonParserDelegate.enable(JacksonParser.Feature f) |
JacksonParser |
JacksonParser.enable(JacksonParser.Feature f)
Method for enabling specified parser feature
(check
JacksonParser.Feature for list of features) |
JacksonParser |
JsonParserDelegate.skipChildren() |
abstract JacksonParser |
JacksonParser.skipChildren()
Method that will skip all child tokens of an array or
object token that the parser currently points to,
iff stream points to
JsonToken.START_OBJECT or JsonToken.START_ARRAY. |
JacksonParser |
ParserMinimalBase.skipChildren() |
JacksonParser |
TreeNode.traverse()
Method for constructing a
JacksonParser instance for
iterating over contents of the tree that this node is root of. |
abstract JacksonParser |
ObjectCodec.treeAsTokens(TreeNode n)
Method for constructing a
JacksonParser for reading
contents of a JSON tree, as if it was external serialized
JSON content. |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
JsonGenerator.copyCurrentEvent(JacksonParser jp)
Method for copying contents of the current event that
the given parser instance points to.
|
void |
JsonGeneratorDelegate.copyCurrentEvent(JacksonParser jp) |
void |
GeneratorBase.copyCurrentEvent(JacksonParser jp) |
abstract void |
JsonGenerator.copyCurrentStructure(JacksonParser jp)
Method for copying contents of the current event
and following events that it encloses
the given parser instance points to.
|
void |
JsonGeneratorDelegate.copyCurrentStructure(JacksonParser jp) |
void |
GeneratorBase.copyCurrentStructure(JacksonParser jp) |
static JsonParserSequence |
JsonParserSequence.createFlattened(JacksonParser first,
JacksonParser second)
Method that will construct a parser (possibly a sequence) that
contains all given sub-parsers.
|
abstract <T extends TreeNode> |
ObjectCodec.readTree(JacksonParser jp)
Method to deserialize JSON content as tree expressed
using set of
TreeNode instances. |
abstract <T> T |
ObjectCodec.readValue(JacksonParser jp,
Class<T> valueType)
Method to deserialize JSON content into a non-container
type (it can be an array type, however): typically a bean, array
or a wrapper type (like
Boolean). |
abstract <T> T |
ObjectCodec.readValue(JacksonParser jp,
ResolvedType valueType)
Method to deserialize JSON content into a POJO, type specified
with fully resolved type object (so it can be a generic type,
including containers like
Collection and
Map). |
abstract <T> T |
ObjectCodec.readValue(JacksonParser jp,
TypeReference<?> valueTypeRef)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
abstract <T> Iterator<T> |
ObjectCodec.readValues(JacksonParser jp,
Class<T> valueType)
Method for reading sequence of Objects from parser stream,
all with same specified value type.
|
abstract <T> Iterator<T> |
ObjectCodec.readValues(JacksonParser jp,
ResolvedType valueType)
Method for reading sequence of Objects from parser stream,
all with same specified value type.
|
abstract <T> Iterator<T> |
ObjectCodec.readValues(JacksonParser jp,
TypeReference<?> valueTypeRef)
Method for reading sequence of Objects from parser stream,
all with same specified value type.
|
| 构造器和说明 |
|---|
JsonParserDelegate(JacksonParser d) |
Copyright © 2002–2019 The MyMMSCs Software Foundation. All rights reserved.