Uses of Interface
org.spincast.core.json.JsonObject
Packages that use JsonObject
Package
Description
-
Uses of JsonObject in org.spincast.core.exceptions
Methods in org.spincast.core.exceptions that return JsonObjectConstructors in org.spincast.core.exceptions with parameters of type JsonObjectModifierConstructorDescriptionRedirectException(String newUrl, boolean redirectPermanently, FlashMessageLevel flashMessageType, String flashMessageTex, JsonObject flashMessageVariables) Redirect with a Flash message.protectedRedirectException(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
Methods in org.spincast.core.exchange that return JsonObjectModifier and TypeMethodDescriptionVariablesRequestContextAddon.getAsJsonObject(String key) Gets the specified request scoped variable asJsonObject.RequestRequestContextAddon.getFormBodyAsJsonObject()The data submitted as aFORMbody (in general via aPOSTmethod), as an immutableJsonObject.RequestRequestContextAddon.getJsonBody()The request's body deserialized to an immutableJsonObject.ResponseRequestContextAddon.getModel()TheJsonObjectwhich serves as the model for the response.RequestRequestContextAddon.getXmlBodyAsJsonObject()The request's body deserialized to an immutableJsonObject.Methods in org.spincast.core.exchange with parameters of type JsonObjectModifier and TypeMethodDescriptionvoidResponseRequestContextAddon.redirect(String newUrl, boolean permanently, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets a redirection header, with a Flash message to display.voidResponseRequestContextAddon.redirect(String newUrl, int specific3xxCode, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets the redirection headers with a specified3xxstatus code, and a Flash message to display.voidResponseRequestContextAddon.redirect(String newUrl, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets a temporarily redirection header (302), with a Flash message to display.voidResponseRequestContextAddon.redirect(String newUrl, JsonObject flashMessageVariables) Sets a temporarily redirection header (302), with a Flash variables.voidResponseRequestContextAddon.redirect(FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) Sets a temporarily redirection header (302) to the current page, with a Flash message to display.voidResponseRequestContextAddon.setModel(JsonObject model) Replaces the current response model completely. -
Uses of JsonObject in org.spincast.core.flash
Methods in org.spincast.core.flash that return JsonObjectModifier and TypeMethodDescriptionFlashMessage.getVariables()Potential variables associated with this Flash message.FlashMessageDefault.getVariables()Methods in org.spincast.core.flash with parameters of type JsonObjectModifier and TypeMethodDescriptionFlashMessageFactory.create(FlashMessageLevel messageType, String text, JsonObject variables) Constructors in org.spincast.core.flash with parameters of type JsonObjectModifierConstructorDescriptionFlashMessageDefault(FlashMessageLevel messageType, String text, JsonObject variables, JsonManager jsonManager) -
Uses of JsonObject in org.spincast.core.guice
Methods in org.spincast.core.guice that return types with arguments of type JsonObjectModifier and TypeMethodDescriptionprotected Class<? extends JsonObject>SpincastCorePluginModule.getJsonObjectImplClass() -
Uses of JsonObject in org.spincast.core.json
Classes in org.spincast.core.json that implement JsonObjectMethods in org.spincast.core.json that return JsonObjectModifier 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 emptyJsonObjectJsonObjectFactory.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 aJsonObjectthat has a ".name" property (thename()of the enum) and a ".label" property (thetoString()of the enum)JsonManager.fromClasspathFile(String path) Creates aJsonObjectfrom a classpath Json file.Creates aJsonObjectfrom a Json file.Creates aJsonObjectfrom the path of a file, on the file system.JsonManager.fromInputStream(InputStream inputStream) Creates aJsonObjectfrom an inputStream.Creates an emptyJsonObjectbased on the specified Map.Creates aJsonObjectbased on the specified Map.JsonManager.fromObject(Object object) Creates aJsonObjectfrom a random object..JsonManager.fromString(String jsonString) Creates aJsonObjectfrom aJsonString.JsonArray.getArrayFirstJsonObject(int index) Gets the first element (as JsonObject) of aJsonArrayelement.JsonArray.getArrayFirstJsonObject(int index, JsonObject defaultValue) Gets the first element (as JsonObject) of aJsonArrayelement.JsonArrayDefault.getArrayFirstJsonObject(int index) JsonArrayDefault.getArrayFirstJsonObject(int index, JsonObject defaultValue) JsonObjectArrayBase.getArrayFirstJsonObject(String key) protected JsonObjectJsonObjectArrayBase.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 aJsonArrayproperty of the object, using theJsonPathto find the array.JsonObjectOrArray.getArrayFirstJsonObject(String jsonPath, JsonObject defaultElement) Gets the first value (as JsonObject) of aJsonArrayproperty of the object, using theJsonPathto find the array.JsonObject.getArrayFirstJsonObjectNoKeyParsing(String key) Gets the first value (as JsonObject) of aJsonArrayelement .JsonObject.getArrayFirstJsonObjectNoKeyParsing(String key, JsonObject defaultElement) Gets the first value (as JsonObject) of aJsonArrayelement .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 JsonObjectJsonObjectArrayBase.getJsonObject(String jsonPath, boolean hasdefaultElement, JsonObject defaultElement) protected JsonObjectJsonObjectArrayBase.getJsonObject(String jsonPath, boolean hasdefaultElement, JsonObject defaultElement, boolean parseJsonPath) JsonObjectArrayBase.getJsonObject(String jsonPath, JsonObject defaultElement) JsonObjectOrArray.getJsonObject(String jsonPath) Gets an element asJsonObjectusing the specifiedJsonPath.JsonObjectOrArray.getJsonObject(String jsonPath, JsonObject defaultElement) Gets an element asJsonObjectusing the specifiedJsonPath.protected JsonObjectJsonObjectArrayBase.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 asJsonObjectusing the specifiedJsonPath.JsonObjectOrArray.getJsonObjectOrEmpty(String jsonPath, boolean addIfDoesntExist) Gets an element asJsonObjectusing 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 specifiedJsonObjectproperties in the current object.JsonObject.merge(JsonObject jsonObj, boolean clone) Merges the specifiedJsonObjectproperties in the current object.JsonObject.merge(ToJsonObjectConvertible jsonObj) Transforms the specifie3d object toJsonObjectand merges its properties in the current object.JsonObjectDefault.merge(JsonObject jsonObj) JsonObjectDefault.merge(JsonObject jsonObj, boolean clone) JsonObjectDefault.merge(ToJsonObjectConvertible obj) protected JsonObjectRemoves a property atJsonPathfrom 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) Methods in org.spincast.core.json with parameters of type JsonObjectModifier 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 aJsonArrayelement.JsonArrayDefault.getArrayFirstJsonObject(int index, JsonObject defaultValue) protected JsonObjectJsonObjectArrayBase.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 aJsonArrayproperty of the object, using theJsonPathto find the array.JsonObject.getArrayFirstJsonObjectNoKeyParsing(String key, JsonObject defaultElement) Gets the first value (as JsonObject) of aJsonArrayelement .JsonObjectArrayBase.getArrayFirstJsonObjectNoKeyParsing(String key, JsonObject defaultElement) JsonManager.getElementAtJsonPath(JsonObject obj, String jsonPath) Gets an element from theJsonObjectat the specifiedJsonPath.JsonManager.getElementAtJsonPath(JsonObject obj, String jsonPath, Object defaultElement) Gets an element from theJsonObjectat 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 JsonObjectJsonObjectArrayBase.getJsonObject(String jsonPath, boolean hasdefaultElement, JsonObject defaultElement) protected JsonObjectJsonObjectArrayBase.getJsonObject(String jsonPath, boolean hasdefaultElement, JsonObject defaultElement, boolean parseJsonPath) JsonObjectArrayBase.getJsonObject(String jsonPath, JsonObject defaultElement) JsonObjectOrArray.getJsonObject(String jsonPath, JsonObject defaultElement) Gets an element asJsonObjectusing the specifiedJsonPath.JsonObject.getJsonObjectNoKeyParsing(String jsonPath, JsonObject defaultElement) Gets an element asJsonObject.JsonObjectArrayBase.getJsonObjectNoKeyParsing(String jsonPath, JsonObject defaultElement) booleanJsonManager.isElementExists(JsonObject obj, String jsonPath) Does the object contain an element at the specifiedJsonPath(even ifnull)?booleanJsonPathUtils.isElementExists(JsonObject obj, String jsonPath) Does the object contain an element at theJsonPathposition (even ifnull)?booleanJsonPathUtilsDefault.isElementExists(JsonObject root, String jsonPath) booleanJsonObject.isEquivalentTo(JsonObject other) Compares the currentJsonObjectto the specified one and returnstrueif they are equivalent.booleanJsonObjectDefault.isEquivalentTo(JsonObject other) JsonObject.merge(JsonObject jsonObj) Merges the specifiedJsonObjectproperties in the current object.JsonObject.merge(JsonObject jsonObj, boolean clone) Merges the specifiedJsonObjectproperties in the current object.JsonObjectDefault.merge(JsonObject jsonObj) JsonObjectDefault.merge(JsonObject jsonObj, boolean clone) protected ObjectJsonPathUtilsDefault.processJsonPath(JsonObject root, String jsonPath, JsonPathUtilsDefault.JsonPathProcessingType jsonPathProcessingType, Object valueToPut, boolean hasDefaultValue, Object defaultElement) voidJsonManager.removeElementAtJsonPath(JsonObject obj, String jsonPath) Removes an element at the specifiedJsonPathfrom the object.voidJsonPathUtils.removeElementAtJsonPath(JsonObject obj, String jsonPath) Removes an element at the specifiedJsonPathfrom the object.voidJsonPathUtilsDefault.removeElementAtJsonPath(JsonObject root, String jsonPath) protected ObjectJsonPathUtilsDefault.selectValueUsingJsonPath(JsonObject obj, String jsonPath, boolean hasDefaultValue, Object defaultElement) Constructors in org.spincast.core.json with parameters of type JsonObjectModifierConstructorDescriptionJsonObjectDefault(JsonObject configToMerge, boolean mutable, JsonManager jsonManager, SpincastUtils spincastUtils, ObjectConverter objectConverter) Constructor -
Uses of JsonObject in org.spincast.core.request
Subinterfaces of JsonObject in org.spincast.core.requestModifier and TypeInterfaceDescriptioninterfaceSpecializedJsonObjectthat is also aValidationSetto store validations.Classes in org.spincast.core.request that implement JsonObjectMethods in org.spincast.core.request that return JsonObjectMethods in org.spincast.core.request with parameters of type JsonObjectModifier and TypeMethodDescriptionprotected voidFormDefault.addMessageFormattedSpecifickey(String key, List<ValidationMessage> messages, ValidationMessageFormatType formatType, StringBuilder textBuilder, JsonObject jsonObject) FormFactory.createForm(String formName, JsonObject formData) voidForm.setValidationObject(JsonObject validationObject) Sets theJsonObjectto use to store the validation messages.voidFormDefault.setValidationObject(JsonObject validationObject) Constructors in org.spincast.core.request with parameters of type JsonObjectModifierConstructorDescriptionFormDefault(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
Methods in org.spincast.core.templating with parameters of type JsonObjectModifier 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
Methods in org.spincast.core.utils that return JsonObjectModifier and TypeMethodDescriptionObjectConverter.convertToJsonObject(Object element) Converts the element to aJsonObject.ObjectConverterDefault.convertToJsonObject(Object object) -
Uses of JsonObject in org.spincast.core.validation
Classes in org.spincast.core.validation that implement JsonObjectMethods in org.spincast.core.validation that return JsonObjectModifier and TypeMethodDescriptionValidationMessage.convertToJsonObject()Converts the message to aJsonObjectobject.ValidationMessageDefault.convertToJsonObject()ValidationSet.getValidationResultAsJsonObject()TheJsonObjectin which the validation messages are actually stored. -
Uses of JsonObject in org.spincast.core.xml
Methods in org.spincast.core.xml that return JsonObjectModifier and TypeMethodDescriptionDeserializes a XML to anJsonObject. -
Uses of JsonObject in org.spincast.plugins.cssautoprefixer
Methods in org.spincast.plugins.cssautoprefixer with parameters of type JsonObjectModifier and TypeMethodDescriptionvoidSpincastCssAutoprefixerManager.autoPrefix(File cssFile, Charset encoding, JsonObject options) Apply Autoprefixer on the specified CSS file.voidSpincastCssAutoprefixerManager.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.voidSpincastCssAutoprefixerManagerDefault.autoPrefix(File cssFile, Charset encoding, JsonObject options) voidSpincastCssAutoprefixerManagerDefault.autoPrefix(File cssFile, JsonObject options) SpincastCssAutoprefixerManagerDefault.autoPrefix(String cssContent, JsonObject options) protected voidSpincastCssAutoprefixerManagerDefault.createPostCssConfigFile(File postCssConfigFileDir, JsonObject options) protected FileSpincastCssAutoprefixerManagerDefault.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
Methods in org.spincast.plugins.gson that return JsonObjectModifier 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) Methods in org.spincast.plugins.gson that return types with arguments of type JsonObjectModifier 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()Methods in org.spincast.plugins.gson with parameters of type JsonObjectModifier and TypeMethodDescriptionSpincastGsonManager.cloneJsonObject(JsonObject jsonObject, boolean mutable) SpincastGsonManager.getElementAtJsonPath(JsonObject obj, String jsonPath) SpincastGsonManager.getElementAtJsonPath(JsonObject obj, String jsonPath, Object defaultValue) booleanSpincastGsonManager.isElementExists(JsonObject obj, String jsonPath) voidSpincastGsonManager.removeElementAtJsonPath(JsonObject obj, String jsonPath) Constructor parameters in org.spincast.plugins.gson with type arguments of type JsonObjectModifierConstructorDescriptionSpincastGsonManager(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
Methods in org.spincast.plugins.gson.serializers that return JsonObjectModifier and TypeMethodDescriptionJsonObjectDeserializer.deserialize(com.google.gson.JsonElement jsonElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) protected JsonObjectThrowableSerializer.toJsonObject(Throwable ex) Methods in org.spincast.plugins.gson.serializers with parameters of type JsonObjectModifier and TypeMethodDescriptioncom.google.gson.JsonElementJsonObjectSerializer.serialize(JsonObject jsonObject, Type typeOfSrc, com.google.gson.JsonSerializationContext context) -
Uses of JsonObject in org.spincast.plugins.httpclient
Methods in org.spincast.plugins.httpclient that return JsonObjectModifier and TypeMethodDescriptionHttpResponse.getContentAsJsonObject()Gets the content as a JsonObject.HttpResponseDefault.getContentAsJsonObject() -
Uses of JsonObject in org.spincast.plugins.jacksonjson
Methods in org.spincast.plugins.jacksonjson that return JsonObjectModifier 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) Methods in org.spincast.plugins.jacksonjson that return types with arguments of type JsonObjectModifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.JsonDeserializer<JsonObject>SpincastJsonManager.getJsonObjectDeserializer()protected com.fasterxml.jackson.databind.JsonSerializer<JsonObject>SpincastJsonManager.getJsonObjectSerializer()Methods in org.spincast.plugins.jacksonjson with parameters of type JsonObjectModifier and TypeMethodDescriptionSpincastJsonManager.cloneJsonObject(JsonObject jsonObject, boolean mutable) SpincastJsonManager.getElementAtJsonPath(JsonObject obj, String jsonPath) SpincastJsonManager.getElementAtJsonPath(JsonObject obj, String jsonPath, Object defaultValue) booleanSpincastJsonManager.isElementExists(JsonObject obj, String jsonPath) voidSpincastJsonManager.removeElementAtJsonPath(JsonObject obj, String jsonPath) -
Uses of JsonObject in org.spincast.plugins.jacksonxml
Subinterfaces of JsonObject in org.spincast.plugins.jacksonxmlModifier and TypeInterfaceDescriptionprotected static interfaceMethods in org.spincast.plugins.jacksonxml that return JsonObjectModifier and TypeMethodDescriptionprotected JsonObjectSpincastXmlManager.deserializeJsonObject(com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser xmlParser, com.fasterxml.jackson.databind.DeserializationContext context, Map.Entry<String, Object> firstProperty) Methods in org.spincast.plugins.jacksonxml that return types with arguments of type JsonObjectModifier 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
Methods in org.spincast.plugins.pebble with parameters of type JsonObjectModifier 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 StringSpincastPebbleTemplatingEngine.parse(String htmlOrPath, JsonObject paramsAsJsonObject, Map<String, Object> params, boolean isTemplate, boolean isClasspathPath, Locale locale) protected com.mitchellbosecke.pebble.attributes.ResolvedAttributeSpincastMainPebbleExtensionDefault.resolveJsonObjectAttribute(JsonObject obj, String attrName, com.mitchellbosecke.pebble.template.EvaluationContextImpl context) -
Uses of JsonObject in org.spincast.plugins.request
Methods in org.spincast.plugins.request that return JsonObjectModifier and TypeMethodDescriptionSpincastRequestRequestContextAddon.getFormBodyAsJsonObject()SpincastRequestRequestContextAddon.getJsonBody()SpincastRequestRequestContextAddon.getXmlBodyAsJsonObject() -
Uses of JsonObject in org.spincast.plugins.response
Methods in org.spincast.plugins.response that return JsonObjectMethods in org.spincast.plugins.response with parameters of type JsonObjectModifier and TypeMethodDescriptionvoidSpincastResponseRequestContextAddon.redirect(String newUrl, boolean permanently, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) voidSpincastResponseRequestContextAddon.redirect(String newUrl, int specific3xxCode, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) voidSpincastResponseRequestContextAddon.redirect(String newUrl, FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) voidSpincastResponseRequestContextAddon.redirect(String newUrl, JsonObject flashMessageVariables) voidSpincastResponseRequestContextAddon.redirect(FlashMessageLevel flashMessageType, String flashMessageText, JsonObject flashMessageVariables) voidSpincastResponseRequestContextAddon.setModel(JsonObject model) -
Uses of JsonObject in org.spincast.plugins.session
Methods in org.spincast.plugins.session that return JsonObjectModifier and TypeMethodDescriptionSpincastSession.getAttributes()Returns a mutableJsonObjectrepresenting the attributes of the session.SpincastSessionDefault.getAttributes()Methods in org.spincast.plugins.session with parameters of type JsonObjectModifier 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 (nullotherwise)SpincastSessionManagerDefault.createSession(String sessionId, Instant creationDate, Instant modificationDate, JsonObject attributes) Constructors in org.spincast.plugins.session with parameters of type JsonObjectModifierConstructorDescriptionSpincastSessionDefault(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
Methods in org.spincast.plugins.templatingaddon with parameters of type JsonObjectModifier 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
Methods in org.spincast.plugins.variables that return JsonObjectModifier and TypeMethodDescriptionSpincastVariablesRequestContextAddon.getAsJsonObject(String key) -
Uses of JsonObject in org.spincast.website.controllers.demos
Methods in org.spincast.website.controllers.demos that return JsonObjectModifier and TypeMethodDescriptionprotected JsonObjectDemoHtmlFormsDynamicFieldsController.createFirstUser()Creates a first default userMethods in org.spincast.website.controllers.demos with parameters of type JsonObjectModifier and TypeMethodDescriptionprotected ValidationSetDemoHtmlFormsDynamicFieldsController.validateUser(JsonObject user) Validation of a user.