Apache fleece

Apache Fleece is a project providing an implementation of JsonProcessing (aka jsr-353) and a set of useful extension for this specification like an Object mapper and some JAX-RS providers.

Get started

Fleece comes with three main modules.

Core

This is the implementation of the specification. You'll surely want to add the API as dependency too:

Mapper

The mapper module allows you to use the implementation you want of Json Processing specification to map Json to Object and the opposite.

JAX-RS

JAX-RS module provides two providers (and underlying MessageBodyReaders and MessageBodyWriters):

  • org.apache.fleece.jaxrs.FleeceProvider.FleeceProvider: use Fleece Mapper to map Object to Json and the opposite
  • org.apache.fleece.jaxrs.JsrProvider: allows you to use JsrArray, JsrObject (more generally JsonStructure)