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 JSONExceptionStrutsJSONReader.buildInvalidInputException()Methods in org.apache.struts2.json that throw JSONExceptionModifier and TypeMethodDescriptionprotected booleanStrutsJSONReader.array()protected voidprotected voidprotected 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) Deprecated, for removal: This API element is subject to removal in a future version.static ObjectJSONUtil.deserialize(String json) Deprecated, for removal: This API element is subject to removal in a future version.Use instance methodJSONUtil.deserializeInput(Reader, int)with injected JSONUtil insteadJSONUtil.deserializeInput(Reader reader, int maxLength) Deserializes an object from JSON using the injected reader with limit enforcement.protected voidStrutsJSONWriter.enumeration(Enum<?> enumeration) Instrospect an Enum and serialize it as a name/value pair or as a bean including all its own propertiesprotected voidprotected ObjectStrutsJSONReader.number()StrutsJSONReader.object()voidJSONPopulator.populateObject(Object object, Map elements) protected voidSerialize object into jsonprotected voidStrutsJSONWriter.processCustom(Object object, Method method) Serialize custom object into jsonprotected ObjectStrutsJSONReader.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 ObjectStrutsJSONReader.string(char quote) protected voidDetect cyclic referencesJSONWriter.write(Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean excludeNullProperties) StrutsJSONWriter.write(Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean excludeNullProperties)
JSONUtil.deserializeInput(Reader, int)with injected JSONUtil instead