Skip to content
Branch: master
Find file History
Latest commit d65d633 Aug 19, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
release-notes Add Ion as standard binary codec Jun 17, 2017
src
LICENSE Add Ion as standard binary codec Jun 17, 2017
NOTICE Add Ion as standard binary codec Jun 17, 2017
README.md fix README Sep 14, 2017
pom.xml Merge branch '2.10' May 15, 2019

README.md

Overview

Jackson data format module for reading and writing Ion encoded data.

Project is licensed under Apache License 2.0.

Status

Since version 2.8 this module is considered complete and production ready. All Jackson layers (streaming, databind, tree model) are supported.

To use this extension on Maven-based projects, use following dependency:

<dependency>
  <groupId>com.fasterxml.jackson.dataformat</groupId>
  <artifactId>jackson-dataformat-ion</artifactId>
  <version>2.9.1</version>
</dependency>

Usage

Basic usage is by using IonObjectMapper instead of basic ObjectMapper; or, if only using streaming parser/generator, IonFactory instead of JsonFactory.

ObjectMapper mapper = new IonObjectMapper();
// and then read/write data as usual
SomeType value = ...;
byte[] encoded = mapper.writeValueAsBytes(value);
SomeType otherValue = mapper.readValue(data, SomeType.class);

Documentation

See Wiki (includes Javadocs)

You can’t perform that action at this time.