G I J O S T U W

G

getIndentingSize() - Method in class org.restlet.ext.json.JsonRepresentation
Returns the number of spaces to use for indentation.
getJsonArray() - Method in class org.restlet.ext.json.JsonRepresentation
Gets the wrapped JSON array or converts the wrapped representation if needed.
getJsonObject() - Method in class org.restlet.ext.json.JsonRepresentation
Gets the wrapped JSON object or converts the wrapped representation if needed.
getJsonTokener() - Method in class org.restlet.ext.json.JsonRepresentation
Gets the wrapped JSON tokener or converts the wrapped representation if needed.
getObjectClasses(Variant) - Method in class org.restlet.ext.json.JsonConverter
 
getSize() - Method in class org.restlet.ext.json.JsonRepresentation
 
getVariants(Class<?>) - Method in class org.restlet.ext.json.JsonConverter
 

I

isIndenting() - Method in class org.restlet.ext.json.JsonRepresentation
Indicates if JSON objects and arrays should be indented.

J

JsonConverter - Class in org.restlet.ext.json
Converter between the JSON API (more precisely JSONArray, JSONObject and JSONTokener instances) and Representation classes.
JsonConverter() - Constructor for class org.restlet.ext.json.JsonConverter
 
JsonRepresentation - Class in org.restlet.ext.json
Representation based on a JSON document.
JsonRepresentation(JSONArray) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a JSON array.
JsonRepresentation(JSONObject) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a JSON object.
JsonRepresentation(JSONStringer) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a JSON stringer.
JsonRepresentation(JSONTokener) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a JSON tokener.
JsonRepresentation(Map<String, Object>) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a map object.
JsonRepresentation(Object) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a bean using reflection to generate JSON names.
JsonRepresentation(Representation) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor.
JsonRepresentation(String) - Constructor for class org.restlet.ext.json.JsonRepresentation
Constructor from a JSON string.

O

org.restlet.ext.json - package org.restlet.ext.json
Support for JSON representations.

S

score(Object, Variant, Resource) - Method in class org.restlet.ext.json.JsonConverter
 
score(Representation, Class<T>, Resource) - Method in class org.restlet.ext.json.JsonConverter
 
setIndenting(boolean) - Method in class org.restlet.ext.json.JsonRepresentation
Indicates if JSON objects and arrays should be indented.
setIndentingSize(int) - Method in class org.restlet.ext.json.JsonRepresentation
Sets the number of spaces to use for indentation.

T

toJsonTokener() - Method in class org.restlet.ext.json.JsonRepresentation
Deprecated. Use JsonRepresentation.getJsonTokener() instead.
toObject(Representation, Class<T>, Resource) - Method in class org.restlet.ext.json.JsonConverter
 
toRepresentation(Object, Variant, Resource) - Method in class org.restlet.ext.json.JsonConverter
 

U

updatePreferences(List<Preference<MediaType>>, Class<T>) - Method in class org.restlet.ext.json.JsonConverter
 

W

write(Writer) - Method in class org.restlet.ext.json.JsonRepresentation
 

G I J O S T U W

Copyright © 2005-2014 Restlet.