This chapter describes how EclipseLink MOXy supports the ability to convert objects to and from JSON (JavaScript Object Notation). This feature is useful when creating RESTful services; JAX-RS services can accept both XML and JSON messages.
This chapter includes the following sections:
Use Case
Users need to convert objects to and from JSON documents.
Solution
EclipseLink provides JSON support through the EclipseLink MOXy implementation.
Components
EclipseLink 2.4 or later.
JSON documents.
Sample
See the following EclipseLink samples for related information: