Package org.restlet.ext.json
Support for JSON representations. JSON stands for JavaScript Object Notation and is a lightweight
data-interchange format. This extension is based on the JSON library from Java providing
by the official JSON.org Web site. This library is useful in simple cases, but not tuned
for performance or extensive serialization support of POJOs. If you need such features,
you can also consider the XStream extension which supports both XML and JSON serialization.
- Since:
- Restlet 1.0
- See Also:
- JSON project, User Guide - JSON extension
-
Class Summary Class Description JsonConverter Converter between the JSON API (more preciselyJSONArray
,JSONObject
andJSONTokener
instances) and Representation classes.JsonpFilter Filter that converts response entity of the JSON media type into a JSONP callback document.JsonpRepresentation Wrappers that adds a JSONP header and footer to JSON representations.JsonRepresentation Representation based on a JSON document.