Class JSONObjectFormatter

java.lang.Object
org.apache.openjpa.persistence.jest.JSONObjectFormatter
All Implemented Interfaces:
ObjectFormatter<JSON>

public class JSONObjectFormatter extends Object implements ObjectFormatter<JSON>
Marshals a root instance and its persistent closure as JSON object. The closure is resolved against the persistence context that contains the root instance. The JSON format introduces a $id and $ref to address reference that pure JSON does not.
Author:
Pinaki Poddar