Jackson-core

Core Jackson processing abstractions (aka Streaming API), implementation for JSON

License

License

Categories

Categories

Jackson Data JSON
GroupId

GroupId

com.jwebmp.jre11.jackson.core
ArtifactId

ArtifactId

jackson-core
Last Version

Last Version

0.63.0.19
Release Date

Release Date

Type

Type

jar
Description

Description

Jackson-core
Core Jackson processing abstractions (aka Streaming API), implementation for JSON
Project URL

Project URL

https://github.com/FasterXML/jackson-core
Project Organization

Project Organization

FasterXML
Source Code Management

Source Code Management

http://github.com/FasterXML/jackson-core

Download jackson-core

How to add to project

<!-- https://jarcasting.com/artifacts/com.jwebmp.jre11.jackson.core/jackson-core/ -->
<dependency>
    <groupId>com.jwebmp.jre11.jackson.core</groupId>
    <artifactId>jackson-core</artifactId>
    <version>0.63.0.19</version>
</dependency>
// https://jarcasting.com/artifacts/com.jwebmp.jre11.jackson.core/jackson-core/
implementation 'com.jwebmp.jre11.jackson.core:jackson-core:0.63.0.19'
// https://jarcasting.com/artifacts/com.jwebmp.jre11.jackson.core/jackson-core/
implementation ("com.jwebmp.jre11.jackson.core:jackson-core:0.63.0.19")
'com.jwebmp.jre11.jackson.core:jackson-core:jar:0.63.0.19'
<dependency org="com.jwebmp.jre11.jackson.core" name="jackson-core" rev="0.63.0.19">
  <artifact name="jackson-core" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.jwebmp.jre11.jackson.core', module='jackson-core', version='0.63.0.19')
)
libraryDependencies += "com.jwebmp.jre11.jackson.core" % "jackson-core" % "0.63.0.19"
[com.jwebmp.jre11.jackson.core/jackson-core "0.63.0.19"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Overview

This project contains core low-level incremental ("streaming") parser and generator abstractions used by Jackson Data Processor. It also includes the default implementation of handler types (parser, generator) that handle JSON format. The core abstractions are not JSON specific, although naming does contain 'JSON' in many places, due to historical reasons. Only packages that specifically contain word 'json' are JSON-specific.

This package is the base on which Jackson data-binding package builds on. It is licensed under Apache License 2.0.

Alternate data format implementations (like Smile (binary JSON), XML, CSV, Protobuf, and CBOR) also build on this base package, implementing the core interfaces, making it possible to use standard data-binding package regardless of underlying data format.

Project contains versions 2.0 and above: source code for earlier (1.x) versions can be found from Jackson-1 github repo.

Status

Build Status Maven Central Javadoc Tidelift Fuzzing Status

Get it!

Maven

Functionality of this package is contained in Java package com.fasterxml.jackson.core.

To use the package, you need to use following Maven dependency:

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-core</artifactId>
    <version>${jackson.version.core}</version>
</dependency>

or download jars from Maven repository or links on Wiki. Core jar is a functional OSGi bundle, with proper import/export declarations.

Package has no external dependencies, except for testing (which uses JUnit).

Non-Maven

For non-Maven use cases, you download jars from Central Maven repository.

Core jar is also a functional OSGi bundle, with proper import/export declarations, so it can be use on OSGi container as is.


Use it!

General

Usage typically starts with creation of a reusable (and thread-safe, once configured) JsonFactory instance:

JsonFactory factory = new JsonFactory();
// configure, if necessary:
factory.enable(JsonParser.Feature.ALLOW_COMMENTS);

Alternatively, you have a ObjectMapper (from Jackson Databind package) handy; if so, you can do:

JsonFactory factory = objectMapper.getFactory();

Usage, simple reading

All reading is by using JsonParser (or its sub-classes, in case of data formats other than JSON), instance of which is constructed by JsonFactory.

An example can be found from Reading and Writing Event Streams

Usage, simple writing

All writing is by using JsonGenerator (or its sub-classes, in case of data formats other than JSON), instance of which is constructed by JsonFactory:

An example can be found from Reading and Writing Event Streams


Support

Community support

Jackson components are supported by the Jackson community through mailing lists, Gitter forum, Github issues. See Participation, Contributing for full details.

Enterprise support

Available as part of the Tidelift Subscription.

The maintainers of jackson-core and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.


Further reading

Differences from Jackson 1.x

Project contains versions 2.0 and above: source code for the latest 1.x version (1.9.13) is available from FasterXML/jackson-1 repo (unmaintained).

Note that the main differences compared to 1.0 core jar are:

  • Maven build instead of Ant
  • Annotations carved out to a separate package (that this package depends on)
  • Java package is now com.fasterxml.jackson.core (instead of org.codehaus.jackson)

Links

  • Project Wiki has JavaDocs and links to downloadable artifacts
  • Jackson (portal) has links to all FasterXML-maintained "official" Jackson components
  • Jackson Docs is the portal/hub for all kinds of Jackson documentation
com.jwebmp.jre11.jackson.core

FasterXML, LLC

Versions

Version
0.63.0.19
0.63.0.17
0.63.0.16
0.63.0.14