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.base |
Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
|
com.fasterxml.jackson.core.json |
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
|
com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
Modifier and Type | Method and Description |
---|---|
static Version |
Version.unknownVersion()
Method returns canonical "not known" version, which is used as version
in cases where actual version information is not known (instead of null).
|
abstract Version |
JsonParser.version()
Accessor for getting version of the core package, given a parser instance.
|
abstract Version |
JsonGenerator.version()
Accessor for finding out version of the bundle that provided this generator instance.
|
Version |
Versioned.version()
Method called to detect version of the component that implements this interface;
returned version should never be null, but may return specific "not available"
instance (see
Version for details). |
abstract Version |
ObjectCodec.version() |
Version |
JsonFactory.version() |
Modifier and Type | Method and Description |
---|---|
int |
Version.compareTo(Version other) |
Modifier and Type | Method and Description |
---|---|
Version |
ParserBase.version() |
Version |
GeneratorBase.version()
Implemented with standard version number detection algorithm, typically using
a simple generated class, with information extracted from Maven project file
during build.
|
Modifier and Type | Field and Description |
---|---|
static Version |
PackageVersion.VERSION |
Modifier and Type | Method and Description |
---|---|
Version |
PackageVersion.version() |
Version |
JsonGeneratorImpl.version() |
Modifier and Type | Method and Description |
---|---|
static Version |
VersionUtil.mavenVersionFor(ClassLoader cl,
String groupId,
String artifactId)
Deprecated.
Since 2.6: functionality not used by any official Jackson component, should be
moved out if anyone needs it
|
static Version |
VersionUtil.packageVersionFor(Class<?> cls)
Deprecated.
Since 2.12 simply use
VersionUtil.versionFor(Class) instead |
static Version |
VersionUtil.parseVersion(String s,
String groupId,
String artifactId)
Method used by
PackageVersion classes to decode version injected by Maven build. |
Version |
JsonParserDelegate.version() |
Version |
VersionUtil.version()
Deprecated.
|
Version |
JsonGeneratorDelegate.version() |
static Version |
VersionUtil.versionFor(Class<?> cls)
Loads version information by introspecting a class named
"PackageVersion" in the same package as the given class.
|
Copyright © 2008–2022 FasterXML. All rights reserved.