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 JSONExceptionJSONReader.buildInvalidInputException()Methods in org.apache.struts2.json that throw JSONExceptionModifier and TypeMethodDescriptionprotected booleanprotected voidprotected voidprotected ListJSONReader.array()protected voidInstrospect bean and serialize its propertiesprotected Objectprotected Objectprotected abstract ObjectJSONCleaner.cleanValue(String ognlName, Object data) protected StringJSONResult.createJSONString(jakarta.servlet.http.HttpServletRequest request, Object rootObject) static ObjectJSONUtil.deserialize(Reader reader) Deserializes a object from JSONstatic ObjectJSONUtil.deserialize(String json) Deserializes a object from JSONprotected voidDefaultJSONWriter.enumeration(Enum enumeration) Instrospect an Enum and serialize it as a name/value pair or as a bean including all its own propertiesprotected voidprotected ObjectJSONReader.number()protected MapJSONReader.object()voidJSONPopulator.populateObject(Object object, Map elements) protected voidSerialize object into jsonprotected voidDefaultJSONWriter.processCustom(Object object, Method method) Serialize custom object into jsonprotected ObjectJSONReader.read()voidSerializes an object into JSON to the given writer.voidSerializes an object into JSON to the given writer.voidJSONUtil.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.voidJSONUtil.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 voidDetect 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)