| Package | Description |
|---|---|
| org.spincast.core.exchange | |
| org.spincast.core.json | |
| org.spincast.core.templating | |
| org.spincast.core.xml |
| Modifier and Type | Method and Description |
|---|---|
IJsonObject |
IVariablesRequestContextAddon.getAsJsonObject(String key)
Gets the specified request scoped variable as
JsonObject. |
IJsonObject |
IRequestRequestContextAddon.getJsonBodyAsJsonObject()
The request's body deserialized to a
IJsonObject. |
IJsonObject |
IRequestRequestContextAddon.getXmlBodyAsJsonObject()
The request's body deserialized to a
IJsonObject. |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonObject
IJsonObject implementation. |
| Modifier and Type | Method and Description |
|---|---|
IJsonObject |
IJsonObjectFactory.create() |
IJsonObject |
IJsonManager.create()
Creates an empty
JsonObject |
IJsonObject |
IJsonManager.create(InputStream inputStream)
Creates a
JsonObject from an inputStream. |
IJsonObject |
IJsonManager.create(String jsonString)
Creates a
JsonObject from a Json
String. |
IJsonObject |
JsonArray.getJsonObject(int pos) |
IJsonObject |
IJsonArray.getJsonObject(int pos)
Gets an element as
IJsonObject. |
IJsonObject |
JsonObject.getJsonObject(String key) |
IJsonObject |
IJsonObject.getJsonObject(String key)
Gets a property as
IJsonObject. |
IJsonObject |
JsonObject.getJsonObject(String key,
IJsonObject defaultValue) |
IJsonObject |
IJsonObject.getJsonObject(String key,
IJsonObject defaultValue)
Gets a property as
IJsonObject. |
protected IJsonObject |
JsonObject.getJSONObjectValue(String key,
boolean hasDefaultValue,
IJsonObject defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
IJsonObject |
JsonObject.getJsonObject(String key,
IJsonObject defaultValue) |
IJsonObject |
IJsonObject.getJsonObject(String key,
IJsonObject defaultValue)
Gets a property as
IJsonObject. |
protected IJsonObject |
JsonObject.getJSONObjectValue(String key,
boolean hasDefaultValue,
IJsonObject defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
String |
ITemplatingEngine.evaluate(String content,
IJsonObject jsonObject)
Evaluates the content, using the given parameters.
|
String |
ITemplatingEngine.evaluate(String content,
IJsonObject jsonObject,
Locale locale)
Evaluates the content, using the given parameters.
|
String |
ITemplatingEngine.fromTemplate(String templatePath,
IJsonObject jsonObject)
Evaluates a template using the parameters specified
as a
IJsonObject. |
String |
ITemplatingEngine.fromTemplate(String templatePath,
IJsonObject jsonObject,
Locale locale)
Evaluates a template using the parameters specified
as a
IJsonObject. |
| Modifier and Type | Method and Description |
|---|---|
IJsonObject |
IXmlManager.fromXml(String xml)
Deserializes a XML to an
IJsonObject. |
Copyright © 2016. All rights reserved.