Oracle Logo

The JAX-RS JSONB Sample Application

 

JAX-RS JSONB Introduction

The Java API for JSON Binding (JSON-B) provides a binding layer for converting Java objects to and from JSON messages. JSON-B also supports the ability to customize the default mapping process used in this binding layer through the use of Java annotations for a given field, JavaBean property, type or package, or by providing an implementation of a property naming strategy.

Description of the Example

This sample demonstrates how to use the Java API for JSON Binding with JAX-RS.

This sample shows a JAX-RS application that produces and consumes JSON using the Java API for JSON Binding (JSON-B).

This sample demonstrates the following key features:

Use This Example