Uses of Class
org.apache.struts2.json.JSONException
Packages that use JSONException
-
Uses of JSONException in org.apache.struts2.json
Methods in org.apache.struts2.json that return JSONExceptionModifier and TypeMethodDescriptionprotected JSONException
JSONReader.buildInvalidInputException()
Methods in org.apache.struts2.json that throw JSONExceptionModifier and TypeMethodDescriptionprotected boolean
protected void
protected void
protected List
JSONReader.array()
protected void
Instrospect bean and serialize its propertiesprotected Object
protected Object
protected abstract Object
JSONCleaner.cleanValue
(String ognlName, Object data) protected String
JSONResult.createJSONString
(jakarta.servlet.http.HttpServletRequest request, Object rootObject) static Object
JSONUtil.deserialize
(Reader reader) Deserializes a object from JSONstatic Object
JSONUtil.deserialize
(String json) Deserializes a object from JSONprotected void
DefaultJSONWriter.enumeration
(Enum enumeration) Instrospect an Enum and serialize it as a name/value pair or as a bean including all its own propertiesprotected void
protected Object
JSONReader.number()
protected Map
JSONReader.object()
void
JSONPopulator.populateObject
(Object object, Map elements) protected void
Serialize object into jsonprotected void
DefaultJSONWriter.processCustom
(Object object, Method method) Serialize custom object into jsonprotected Object
JSONReader.read()
void
Serializes an object into JSON to the given writer.void
Serializes an object into JSON to the given writer.void
JSONUtil.serialize
(Writer writer, Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean excludeNullProperties) Serializes an object into JSON to the given writer, excluding any properties matching any of the regular expressions in the given collection.void
JSONUtil.serialize
(Writer writer, Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean excludeNullProperties, boolean cacheBeanInfo) Serializes an object into JSON to the given writer, excluding any properties matching any of the regular expressions in the given collection.Serializes an object into JSON.JSONUtil.serialize
(Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean ignoreHierarchy, boolean excludeNullProperties) Serializes an object into JSON, excluding any properties matching any of the regular expressions in the given collection.JSONUtil.serialize
(Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean ignoreHierarchy, boolean excludeNullProperties, boolean cacheBeanInfo) Serializes an object into JSON, excluding any properties matching any of the regular expressions in the given collection.JSONUtil.serialize
(Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean ignoreHierarchy, boolean enumAsBean, boolean excludeNullProperties, String defaultDateFormat) Serializes an object into JSON, excluding any properties matching any of the regular expressions in the given collection.JSONUtil.serialize
(Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean ignoreHierarchy, boolean enumAsBean, boolean excludeNullProperties, String defaultDateFormat, boolean cacheBeanInfo) Serializes an object into JSON, excluding any properties matching any of the regular expressions in the given collection.protected void
Detect cyclic referencesDefaultJSONWriter.write
(Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean excludeNullProperties) JSONWriter.write
(Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean excludeNullProperties)