Uses of Interface
org.spincast.core.json.JsonObject
Package
Description
-
Uses of JsonObject in org.spincast.core.exceptions
ModifierConstructorDescriptionRedirectException
(String newUrl, boolean redirectPermanently, FlashMessageLevel flashMessageType, String flashMessageTex, JsonObject flashMessageVariables) Redirect with a Flash message.protected
RedirectException
(String newUrl, boolean redirectPermanently, FlashMessage flashMessage, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) RedirectException
(String newUrl, FlashMessageLevel flashMessageType, String flashMessageTex, JsonObject flashMessageVariables) Redirect with a Flash message.RedirectException
(FlashMessageLevel flashMessageType, String flashMessageTex, JsonObject flashMessageVariables) Redirects to the current URL with a Flash message. -
Uses of JsonObject in org.spincast.core.exchange
Modifier and TypeMethodDescriptionVariablesRequestContextAddon.getAsJsonObject
(String key) Gets the specified request scoped variable asJsonObject
.RequestRequestContextAddon.getFormBodyAsJsonObject()
The data submitted as aFORM
body (in general via aPOST
method), as an immutableJsonObject
.RequestRequestContextAddon.getJsonBody()
The request's body deserialized to an immutableJsonObject
.ResponseRequestContextAddon.getModel()
TheJsonObject
which serves as the model for the response.RequestRequestContextAddon.getXmlBodyAsJsonObject()
The request's body deserialized to an immutableJsonObject
.Modifier and TypeMethodDescriptionvoid
ResponseRequestContextAddon.redirect
(String newUrl, boolean permanently, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets a redirection header, with a Flash message to display.void
ResponseRequestContextAddon.redirect
(String newUrl, int specific3xxCode, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets the redirection headers with a specified3xx
status code, and a Flash message to display.void
ResponseRequestContextAddon.redirect
(String newUrl, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets a temporarily redirection header (302), with a Flash message to display.void
ResponseRequestContextAddon.redirect
(String newUrl, JsonObject flashMessageVariables) Sets a temporarily redirection header (302), with a Flash variables.void
ResponseRequestContextAddon.redirect
(FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets a temporarily redirection header (302) to the current page, with a Flash message to display.void
ResponseRequestContextAddon.setModel
(JsonObject model) Replaces the current response model completely. -
Uses of JsonObject in org.spincast.core.flash
Modifier and TypeMethodDescriptionFlashMessage.getVariables()
Potential variables associated with this Flash message.FlashMessageDefault.getVariables()
Modifier and TypeMethodDescriptionFlashMessageFactory.create
(FlashMessageLevel messageType, String text, JsonObject variables) ModifierConstructorDescriptionFlashMessageDefault
(FlashMessageLevel messageType, String text, JsonObject variables, JsonManager jsonManager) -
Uses of JsonObject in org.spincast.core.guice
Modifier and TypeMethodDescriptionprotected Class<? extends JsonObject>
SpincastCorePluginModule.getJsonObjectImplClass()
-
Uses of JsonObject in org.spincast.core.json
Modifier and TypeMethodDescriptionJsonObjectDefault.clear()
JsonObject.clone
(boolean mutable) Deep copy of theJsonObject
, so any modification to the original won't affect the clone, and vice-versa.JsonObjectDefault.clone
(boolean mutable) JsonManager.cloneJsonObject
(JsonObject jsonObject, boolean mutable) Deep copy of theJsonObject
, so any modification to the original won't affect the clone, and vice-versa.ToJsonObjectConvertible.convertToJsonObject()
Converts the object to aJsonObject
.JsonManager.create()
Creates an emptyJsonObject
JsonObjectFactory.create()
Creates an empty and mutable JsonObject.Creates an JonObject based on the specified Map.JsonObjectFactory.create
(JsonObject objectToClone, boolean mutable) Creates an JonObject based on the specified JsonObject.JsonManager.enumToFriendlyJsonObject
(Enum<?> enumValue) Convert the enum value to aJsonObject
that has a ".name" property (thename()
of the enum) and a ".label" property (thetoString()
of the enum)JsonManager.fromClasspathFile
(String path) Creates aJsonObject
from a classpath Json file.Creates aJsonObject
from a Json file.Creates aJsonObject
from the path of a file, on the file system.JsonManager.fromInputStream
(InputStream inputStream) Creates aJsonObject
from an inputStream.Creates an emptyJsonObject
based on the specified Map.Creates aJsonObject
based on the specified Map.JsonManager.fromObject
(Object object) Creates aJsonObject
from a random object..JsonManager.fromString
(String jsonString) Creates aJsonObject
from aJson
String.JsonArray.getArrayFirstJsonObject
(int index) Gets the first element (as JsonObject) of aJsonArray
element.JsonArray.getArrayFirstJsonObject
(int index, JsonObject defaultValue) Gets the first element (as JsonObject) of aJsonArray
element.JsonArrayDefault.getArrayFirstJsonObject
(int index) JsonArrayDefault.getArrayFirstJsonObject
(int index, JsonObject defaultValue) JsonObjectArrayBase.getArrayFirstJsonObject
(String key) protected JsonObject
JsonObjectArrayBase.getArrayFirstJsonObject
(String key, boolean parseJsonPath, boolean hasdefaultElement, JsonObject defaultElement) JsonObjectArrayBase.getArrayFirstJsonObject
(String key, JsonObject defaultElement) JsonObjectOrArray.getArrayFirstJsonObject
(String jsonPath) Gets the first value (as JsonObject) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObjectOrArray.getArrayFirstJsonObject
(String jsonPath, JsonObject defaultElement) Gets the first value (as JsonObject) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObject.getArrayFirstJsonObjectNoKeyParsing
(String key) Gets the first value (as JsonObject) of aJsonArray
element .JsonObject.getArrayFirstJsonObjectNoKeyParsing
(String key, JsonObject defaultElement) Gets the first value (as JsonObject) of aJsonArray
element .JsonObjectArrayBase.getArrayFirstJsonObjectNoKeyParsing
(String key) JsonObjectArrayBase.getArrayFirstJsonObjectNoKeyParsing
(String key, JsonObject defaultElement) JsonArray.getJsonObject
(int index) Gets an element asJsonObject
.JsonArray.getJsonObject
(int index, JsonObject defaultValue) Gets an element asJsonObject
.JsonArrayDefault.getJsonObject
(int index) JsonArrayDefault.getJsonObject
(int index, JsonObject defaultValue) JsonObjectArrayBase.getJsonObject
(String jsonPath) protected JsonObject
JsonObjectArrayBase.getJsonObject
(String jsonPath, boolean hasdefaultElement, JsonObject defaultElement) protected JsonObject
JsonObjectArrayBase.getJsonObject
(String jsonPath, boolean hasdefaultElement, JsonObject defaultElement, boolean parseJsonPath) JsonObjectArrayBase.getJsonObject
(String jsonPath, JsonObject defaultElement) JsonObjectOrArray.getJsonObject
(String jsonPath) Gets an element asJsonObject
using the specifiedJsonPath
.JsonObjectOrArray.getJsonObject
(String jsonPath, JsonObject defaultElement) Gets an element asJsonObject
using the specifiedJsonPath
.protected JsonObject
JsonObjectArrayBase.getJsonObjectFromObject
(Object object) JsonObject.getJsonObjectNoKeyParsing
(String jsonPath) Gets an element asJsonObject
.JsonObject.getJsonObjectNoKeyParsing
(String jsonPath, JsonObject defaultElement) Gets an element asJsonObject
.JsonObjectArrayBase.getJsonObjectNoKeyParsing
(String jsonPath) JsonObjectArrayBase.getJsonObjectNoKeyParsing
(String jsonPath, JsonObject defaultElement) JsonArray.getJsonObjectOrEmpty
(int index) Gets an element asJsonObject
.JsonArrayDefault.getJsonObjectOrEmpty
(int index) JsonObjectArrayBase.getJsonObjectOrEmpty
(String jsonPath) JsonObjectArrayBase.getJsonObjectOrEmpty
(String jsonPath, boolean addIfDoesntExist) JsonObjectOrArray.getJsonObjectOrEmpty
(String jsonPath) Gets an element asJsonObject
using the specifiedJsonPath
.JsonObjectOrArray.getJsonObjectOrEmpty
(String jsonPath, boolean addIfDoesntExist) Gets an element asJsonObject
using the specifiedJsonPath
.JsonObject.getJsonObjectOrEmptyNoKeyParsing
(String jsonPath) Gets an element asJsonObject
.JsonObjectArrayBase.getJsonObjectOrEmptyNoKeyParsing
(String jsonPath) Merges all the specified Map elements in the JsonObject.Merges all the specified Map elements in the JsonObject.JsonObject.merge
(JsonObject jsonObj) Merges the specifiedJsonObject
properties in the current object.JsonObject.merge
(JsonObject jsonObj, boolean clone) Merges the specifiedJsonObject
properties in the current object.JsonObject.merge
(ToJsonObjectConvertible jsonObj) Transforms the specifie3d object toJsonObject
and merges its properties in the current object.JsonObjectDefault.merge
(JsonObject jsonObj) JsonObjectDefault.merge
(JsonObject jsonObj, boolean clone) JsonObjectDefault.merge
(ToJsonObjectConvertible obj) protected JsonObject
Removes a property atJsonPath
from the object.JsonObject.removeNoKeyParsing
(String key) Removes a element from the object.JsonObjectDefault.removeNoKeyParsing
(String key) JsonObject.setNoKeyParsing
(String key, Object element) Sets an element at the specified key, without parsing this key as aJsonPath
.JsonObject.setNoKeyParsing
(String key, Object element, boolean clone) Sets an element at the specified key, without parsing this key as aJsonPath
.JsonObjectDefault.setNoKeyParsing
(String jsonPath, Object value) JsonObjectDefault.setNoKeyParsing
(String jsonPath, Object value, boolean clone) Modifier and TypeMethodDescriptionJsonManager.cloneJsonObject
(JsonObject jsonObject, boolean mutable) Deep copy of theJsonObject
, so any modification to the original won't affect the clone, and vice-versa.JsonObjectFactory.create
(JsonObject objectToClone, boolean mutable) Creates an JonObject based on the specified JsonObject.JsonArray.getArrayFirstJsonObject
(int index, JsonObject defaultValue) Gets the first element (as JsonObject) of aJsonArray
element.JsonArrayDefault.getArrayFirstJsonObject
(int index, JsonObject defaultValue) protected JsonObject
JsonObjectArrayBase.getArrayFirstJsonObject
(String key, boolean parseJsonPath, boolean hasdefaultElement, JsonObject defaultElement) JsonObjectArrayBase.getArrayFirstJsonObject
(String key, JsonObject defaultElement) JsonObjectOrArray.getArrayFirstJsonObject
(String jsonPath, JsonObject defaultElement) Gets the first value (as JsonObject) of aJsonArray
property of the object, using theJsonPath
to find the array.JsonObject.getArrayFirstJsonObjectNoKeyParsing
(String key, JsonObject defaultElement) Gets the first value (as JsonObject) of aJsonArray
element .JsonObjectArrayBase.getArrayFirstJsonObjectNoKeyParsing
(String key, JsonObject defaultElement) JsonManager.getElementAtJsonPath
(JsonObject obj, String jsonPath) Gets an element from theJsonObject
at the specifiedJsonPath
.JsonManager.getElementAtJsonPath
(JsonObject obj, String jsonPath, Object defaultElement) Gets an element from theJsonObject
at the specifiedJsonPath
.JsonPathUtils.getElementAtJsonPath
(JsonObject obj, String jsonPath) Gets an element from theJsonObject
, at the specifiedJsonPath
.JsonPathUtils.getElementAtJsonPath
(JsonObject obj, String jsonPath, Object defaultElement) Gets an element from theJsonObject
, at the specifiedJsonPath
.JsonPathUtilsDefault.getElementAtJsonPath
(JsonObject obj, String jsonPath) JsonPathUtilsDefault.getElementAtJsonPath
(JsonObject obj, String jsonPath, Object defaultElement) JsonArray.getJsonObject
(int index, JsonObject defaultValue) Gets an element asJsonObject
.JsonArrayDefault.getJsonObject
(int index, JsonObject defaultValue) protected JsonObject
JsonObjectArrayBase.getJsonObject
(String jsonPath, boolean hasdefaultElement, JsonObject defaultElement) protected JsonObject
JsonObjectArrayBase.getJsonObject
(String jsonPath, boolean hasdefaultElement, JsonObject defaultElement, boolean parseJsonPath) JsonObjectArrayBase.getJsonObject
(String jsonPath, JsonObject defaultElement) JsonObjectOrArray.getJsonObject
(String jsonPath, JsonObject defaultElement) Gets an element asJsonObject
using the specifiedJsonPath
.JsonObject.getJsonObjectNoKeyParsing
(String jsonPath, JsonObject defaultElement) Gets an element asJsonObject
.JsonObjectArrayBase.getJsonObjectNoKeyParsing
(String jsonPath, JsonObject defaultElement) boolean
JsonManager.isElementExists
(JsonObject obj, String jsonPath) Does the object contain an element at the specifiedJsonPath
(even ifnull
)?boolean
JsonPathUtils.isElementExists
(JsonObject obj, String jsonPath) Does the object contain an element at theJsonPath
position (even ifnull
)?boolean
JsonPathUtilsDefault.isElementExists
(JsonObject root, String jsonPath) boolean
JsonObject.isEquivalentTo
(JsonObject other) Compares the currentJsonObject
to the specified one and returnstrue
if they are equivalent.boolean
JsonObjectDefault.isEquivalentTo
(JsonObject other) JsonObject.merge
(JsonObject jsonObj) Merges the specifiedJsonObject
properties in the current object.JsonObject.merge
(JsonObject jsonObj, boolean clone) Merges the specifiedJsonObject
properties in the current object.JsonObjectDefault.merge
(JsonObject jsonObj) JsonObjectDefault.merge
(JsonObject jsonObj, boolean clone) protected Object
JsonPathUtilsDefault.processJsonPath
(JsonObject root, String jsonPath, JsonPathUtilsDefault.JsonPathProcessingType jsonPathProcessingType, Object valueToPut, boolean hasDefaultValue, Object defaultElement) void
JsonManager.removeElementAtJsonPath
(JsonObject obj, String jsonPath) Removes an element at the specifiedJsonPath
from the object.void
JsonPathUtils.removeElementAtJsonPath
(JsonObject obj, String jsonPath) Removes an element at the specifiedJsonPath
from the object.void
JsonPathUtilsDefault.removeElementAtJsonPath
(JsonObject root, String jsonPath) protected Object
JsonPathUtilsDefault.selectValueUsingJsonPath
(JsonObject obj, String jsonPath, boolean hasDefaultValue, Object defaultElement) ModifierConstructorDescriptionJsonObjectDefault
(JsonObject configToMerge, boolean mutable, JsonManager jsonManager, SpincastUtils spincastUtils, ObjectConverter objectConverter) Constructor -
Uses of JsonObject in org.spincast.core.request
Modifier and TypeInterfaceDescriptioninterface
SpecializedJsonObject
that is also aValidationSet
to store validations.Modifier and TypeMethodDescriptionprotected void
FormDefault.addMessageFormattedSpecifickey
(String key, List<ValidationMessage> messages, ValidationMessageFormatType formatType, StringBuilder textBuilder, JsonObject jsonObject) FormFactory.createForm
(String formName, JsonObject formData) void
Form.setValidationObject
(JsonObject validationObject) Sets theJsonObject
to use to store the validation messages.void
FormDefault.setValidationObject
(JsonObject validationObject) ModifierConstructorDescriptionFormDefault
(String formName, JsonObject initialFormData, JsonManager jsonManager, SpincastUtils spincastUtils, ObjectConverter objectConverter, Dictionary dictionary, XmlManager xmlManager, SpincastConfig spincastConfig, Validators validators, FormFactory formFactory, ValidationFactory validationFactory) -
Uses of JsonObject in org.spincast.core.templating
Modifier and TypeMethodDescriptionTemplatingEngine.evaluate
(String content, JsonObject jsonObject) Evaluates the content, using the given parameters.TemplatingEngine.evaluate
(String content, JsonObject jsonObject, Locale locale) Evaluates the content, using the given parameters.TemplatingRequestContextAddon.evaluate
(String content, JsonObject model) Evaluates some content using the given parameters.TemplatingRequestContextAddon.evaluate
(String content, JsonObject model, Locale locale) Evaluates some content using the given parameters.TemplatingEngine.fromTemplate
(String templatePath, boolean isClasspathPath, JsonObject jsonObject) Evaluates a template using the parameters specified as aJsonObject
.TemplatingEngine.fromTemplate
(String templatePath, boolean isClasspathPath, JsonObject jsonObject, Locale locale) Evaluates a template using the parameters specified as aJsonObject
.TemplatingEngine.fromTemplate
(String templatePath, JsonObject jsonObject) Evaluates a template using the parameters specified as aJsonObject
.TemplatingEngine.fromTemplate
(String templatePath, JsonObject jsonObject, Locale locale) Evaluates a template using the parameters specified as aJsonObject
.TemplatingRequestContextAddon.fromTemplate
(String templatePath, boolean isClasspathPath, JsonObject model) Renders a template using the given parameters.TemplatingRequestContextAddon.fromTemplate
(String templatePath, boolean isClasspathPath, JsonObject model, Locale locale) Renders a template usgin the given parameters.TemplatingRequestContextAddon.fromTemplate
(String templatePath, JsonObject model) Renders a template using the given parameters.TemplatingRequestContextAddon.fromTemplate
(String templatePath, JsonObject model, Locale locale) Renders a template usgin the given parameters. -
Uses of JsonObject in org.spincast.core.utils
Modifier and TypeMethodDescriptionObjectConverter.convertToJsonObject
(Object element) Converts the element to aJsonObject
.ObjectConverterDefault.convertToJsonObject
(Object object) -
Uses of JsonObject in org.spincast.core.validation
Modifier and TypeMethodDescriptionValidationMessage.convertToJsonObject()
Converts the message to aJsonObject
object.ValidationMessageDefault.convertToJsonObject()
ValidationSet.getValidationResultAsJsonObject()
TheJsonObject
in which the validation messages are actually stored. -
Uses of JsonObject in org.spincast.core.xml
Modifier and TypeMethodDescriptionDeserializes a XML to anJsonObject
. -
Uses of JsonObject in org.spincast.plugins.cssautoprefixer
Modifier and TypeMethodDescriptionvoid
SpincastCssAutoprefixerManager.autoPrefix
(File cssFile, Charset encoding, JsonObject options) Apply Autoprefixer on the specified CSS file.void
SpincastCssAutoprefixerManager.autoPrefix
(File cssFile, JsonObject options) Apply Autoprefixer on the specified CSS file.SpincastCssAutoprefixerManager.autoPrefix
(String cssContent, JsonObject options) Apply Autoprefixer on the specified CSS String.void
SpincastCssAutoprefixerManagerDefault.autoPrefix
(File cssFile, Charset encoding, JsonObject options) void
SpincastCssAutoprefixerManagerDefault.autoPrefix
(File cssFile, JsonObject options) SpincastCssAutoprefixerManagerDefault.autoPrefix
(String cssContent, JsonObject options) protected void
SpincastCssAutoprefixerManagerDefault.createPostCssConfigFile
(File postCssConfigFileDir, JsonObject options) protected File
SpincastCssAutoprefixerManagerDefault.getPostCssConfigFileDir
(JsonObject options) Return a directory where to find a "postcss.config.js" serving as the configurations for "postcss". -
Uses of JsonObject in org.spincast.plugins.gson
Modifier and TypeMethodDescriptionSpincastGsonManager.cloneJsonObject
(JsonObject jsonObject, boolean mutable) SpincastGsonManager.create()
SpincastGsonManager.enumToFriendlyJsonObject
(Enum<?> enumValue) SpincastGsonManager.fromClasspathFile
(String path) SpincastGsonManager.fromInputStream
(InputStream inputStream) SpincastGsonManager.fromObject
(Object object) SpincastGsonManager.fromString
(String jsonString) Modifier and TypeMethodDescriptionprotected com.google.gson.JsonDeserializer<JsonObject>
SpincastGsonManager.getJsonObjectDeserializer()
protected Class<? extends com.google.gson.JsonDeserializer<JsonObject>>
SpincastGsonPluginModule.getJsonObjectDeserializerImpl()
protected com.google.gson.JsonSerializer<JsonObject>
SpincastGsonManager.getJsonObjectSerializer()
protected Class<? extends com.google.gson.JsonSerializer<JsonObject>>
SpincastGsonPluginModule.getJsonObjectSerializerImpl()
Modifier and TypeMethodDescriptionSpincastGsonManager.cloneJsonObject
(JsonObject jsonObject, boolean mutable) SpincastGsonManager.getElementAtJsonPath
(JsonObject obj, String jsonPath) SpincastGsonManager.getElementAtJsonPath
(JsonObject obj, String jsonPath, Object defaultValue) boolean
SpincastGsonManager.isElementExists
(JsonObject obj, String jsonPath) void
SpincastGsonManager.removeElementAtJsonPath
(JsonObject obj, String jsonPath) ModifierConstructorDescriptionSpincastGsonManager
(com.google.gson.JsonDeserializer<JsonObject> jsonObjectDeserializer, com.google.gson.JsonDeserializer<JsonArray> jsonArrayDeserializer, com.google.gson.JsonSerializer<JsonObject> jsonObjectSerializer, com.google.gson.JsonSerializer<JsonArray> jsonArraySerializer, com.google.gson.JsonSerializer<Date> dateSerializer, com.google.gson.JsonSerializer<Instant> instantSerializer, com.google.gson.JsonSerializer<BigDecimal> bigDecimalSerializer, com.google.gson.JsonSerializer<Enum<?>> enumSerializer, com.google.gson.JsonSerializer<Class<?>> classSerializer, com.google.gson.JsonSerializer<Throwable> throwableSerializer, JsonPathUtils jsonPathUtils, JsonObjectFactory jsonObjectFactory, SpincastConfig spincastConfig, SpincastUtils spincastUtils, FormFactory formFactory, com.google.inject.Provider<com.google.inject.Injector> guiceProvider) SpincastGsonManager
(com.google.gson.JsonDeserializer<JsonObject> jsonObjectDeserializer, com.google.gson.JsonDeserializer<JsonArray> jsonArrayDeserializer, com.google.gson.JsonSerializer<JsonObject> jsonObjectSerializer, com.google.gson.JsonSerializer<JsonArray> jsonArraySerializer, com.google.gson.JsonSerializer<Date> dateSerializer, com.google.gson.JsonSerializer<Instant> instantSerializer, com.google.gson.JsonSerializer<BigDecimal> bigDecimalSerializer, com.google.gson.JsonSerializer<Enum<?>> enumSerializer, com.google.gson.JsonSerializer<Class<?>> classSerializer, com.google.gson.JsonSerializer<Throwable> throwableSerializer, JsonPathUtils jsonPathUtils, JsonObjectFactory jsonObjectFactory, SpincastConfig spincastConfig, SpincastUtils spincastUtils, FormFactory formFactory, com.google.inject.Provider<com.google.inject.Injector> guiceProvider) -
Uses of JsonObject in org.spincast.plugins.gson.serializers
Modifier and TypeMethodDescriptionJsonObjectDeserializer.deserialize
(com.google.gson.JsonElement jsonElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) protected JsonObject
ThrowableSerializer.toJsonObject
(Throwable ex) Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
JsonObjectSerializer.serialize
(JsonObject jsonObject, Type typeOfSrc, com.google.gson.JsonSerializationContext context) -
Uses of JsonObject in org.spincast.plugins.httpclient
Modifier and TypeMethodDescriptionHttpResponse.getContentAsJsonObject()
Gets the content as a JsonObject.HttpResponseDefault.getContentAsJsonObject()
-
Uses of JsonObject in org.spincast.plugins.jacksonjson
Modifier and TypeMethodDescriptionSpincastJsonManager.cloneJsonObject
(JsonObject jsonObject, boolean mutable) SpincastJsonManager.create()
SpincastJsonManager.enumToFriendlyJsonObject
(Enum<?> enumValue) SpincastJsonManager.fromClasspathFile
(String path) SpincastJsonManager.fromInputStream
(InputStream inputStream) SpincastJsonManager.fromObject
(Object object) SpincastJsonManager.fromString
(String jsonString) Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.JsonDeserializer<JsonObject>
SpincastJsonManager.getJsonObjectDeserializer()
protected com.fasterxml.jackson.databind.JsonSerializer<JsonObject>
SpincastJsonManager.getJsonObjectSerializer()
Modifier and TypeMethodDescriptionSpincastJsonManager.cloneJsonObject
(JsonObject jsonObject, boolean mutable) SpincastJsonManager.getElementAtJsonPath
(JsonObject obj, String jsonPath) SpincastJsonManager.getElementAtJsonPath
(JsonObject obj, String jsonPath, Object defaultValue) boolean
SpincastJsonManager.isElementExists
(JsonObject obj, String jsonPath) void
SpincastJsonManager.removeElementAtJsonPath
(JsonObject obj, String jsonPath) -
Uses of JsonObject in org.spincast.plugins.jacksonxml
Modifier and TypeInterfaceDescriptionprotected static interface
Modifier and TypeMethodDescriptionprotected JsonObject
SpincastXmlManager.deserializeJsonObject
(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser xmlParser, com.fasterxml.jackson.databind.DeserializationContext context, Map.Entry<String, Object> firstProperty) Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.JsonDeserializer<JsonObject>
SpincastXmlManager.getJsonObjectDeserializer()
protected com.fasterxml.jackson.databind.JsonSerializer<JsonObject>
SpincastXmlManager.getJsonObjectSerializer()
-
Uses of JsonObject in org.spincast.plugins.pebble
Modifier and TypeMethodDescriptionSpincastPebbleTemplatingEngine.evaluate
(String content, JsonObject jsonObject) SpincastPebbleTemplatingEngine.evaluate
(String content, JsonObject jsonObject, Locale locale) SpincastPebbleTemplatingEngine.fromTemplate
(String templatePath, boolean isClasspathPath, JsonObject jsonObject) SpincastPebbleTemplatingEngine.fromTemplate
(String templatePath, boolean isClasspathPath, JsonObject jsonObject, Locale locale) SpincastPebbleTemplatingEngine.fromTemplate
(String templatePath, JsonObject jsonObject) SpincastPebbleTemplatingEngine.fromTemplate
(String templatePath, JsonObject jsonObject, Locale locale) protected String
SpincastPebbleTemplatingEngine.parse
(String htmlOrPath, JsonObject paramsAsJsonObject, Map<String, Object> params, boolean isTemplate, boolean isClasspathPath, Locale locale) protected com.mitchellbosecke.pebble.attributes.ResolvedAttribute
SpincastMainPebbleExtensionDefault.resolveJsonObjectAttribute
(JsonObject obj, String attrName, com.mitchellbosecke.pebble.template.EvaluationContextImpl context) -
Uses of JsonObject in org.spincast.plugins.request
Modifier and TypeMethodDescriptionSpincastRequestRequestContextAddon.getFormBodyAsJsonObject()
SpincastRequestRequestContextAddon.getJsonBody()
SpincastRequestRequestContextAddon.getXmlBodyAsJsonObject()
-
Uses of JsonObject in org.spincast.plugins.response
Modifier and TypeMethodDescriptionvoid
SpincastResponseRequestContextAddon.redirect
(String newUrl, boolean permanently, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) void
SpincastResponseRequestContextAddon.redirect
(String newUrl, int specific3xxCode, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) void
SpincastResponseRequestContextAddon.redirect
(String newUrl, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) void
SpincastResponseRequestContextAddon.redirect
(String newUrl, JsonObject flashMessageVariables) void
SpincastResponseRequestContextAddon.redirect
(FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) void
SpincastResponseRequestContextAddon.setModel
(JsonObject model) -
Uses of JsonObject in org.spincast.plugins.session
Modifier and TypeMethodDescriptionSpincastSession.getAttributes()
Returns a mutableJsonObject
representing the attributes of the session.SpincastSessionDefault.getAttributes()
Modifier and TypeMethodDescriptionSpincastSessionFactory.createSession
(String sessionId, Instant creationDate, Instant modificationDate, JsonObject attributes) Creates a session from saved infos.SpincastSessionManager.createSession
(String sessionId, Instant creationDate, Instant modificationDate, JsonObject attributes) Creates a session from infos, with existing attributes if any (null
otherwise)SpincastSessionManagerDefault.createSession
(String sessionId, Instant creationDate, Instant modificationDate, JsonObject attributes) ModifierConstructorDescriptionSpincastSessionDefault
(String sessionId, Instant creationDate, Instant modificationDate, JsonObject attributes, boolean setAsDirty, boolean isNew, JsonManager jsonManager, SpincastSessionManager spincastSessionManager) SpincastSessionDefault
(String sessionId, Instant creationDate, Instant modificationDate, JsonObject attributes, boolean setAsDirty, JsonManager jsonManager, SpincastSessionManager spincastSessionManager) SpincastSessionDefault
(String sessionId, Instant creationDate, Instant modificationDate, JsonObject attributes, JsonManager jsonManager, SpincastSessionManager spincastSessionManager) -
Uses of JsonObject in org.spincast.plugins.templatingaddon
Modifier and TypeMethodDescriptionSpincastTemplatingRequestContextAddon.evaluate
(String content, JsonObject model) SpincastTemplatingRequestContextAddon.evaluate
(String content, JsonObject model, Locale locale) SpincastTemplatingRequestContextAddon.fromTemplate
(String templatePath, boolean isClasspathPath, JsonObject model) SpincastTemplatingRequestContextAddon.fromTemplate
(String templatePath, boolean isClasspathPath, JsonObject model, Locale locale) SpincastTemplatingRequestContextAddon.fromTemplate
(String templatePath, JsonObject model) SpincastTemplatingRequestContextAddon.fromTemplate
(String templatePath, JsonObject model, Locale locale) -
Uses of JsonObject in org.spincast.plugins.variables
Modifier and TypeMethodDescriptionSpincastVariablesRequestContextAddon.getAsJsonObject
(String key) -
Uses of JsonObject in org.spincast.website.controllers.demos
Modifier and TypeMethodDescriptionprotected JsonObject
DemoHtmlFormsDynamicFieldsController.createFirstUser()
Creates a first default userModifier and TypeMethodDescriptionprotected ValidationSet
DemoHtmlFormsDynamicFieldsController.validateUser
(JsonObject user) Validation of a user.