# Uses of Class
org.apache.struts2.json.JSONException

Packages that use JSONException
Package
Description
org.apache.struts2.json

- ## Uses of JSONException in org.apache.struts2.json

  Methods in org.apache.struts2.json that return JSONException
  Modifier and Type
  Method
  Description
  `protected JSONException`
  JSONReader.`buildInvalidInputException()`
  Methods in org.apache.struts2.json that throw JSONException
  Modifier and Type
  Method
  Description
  `protected boolean`
  DefaultJSONWriter.`add(String name, Object value, Method method, boolean hasData)`
  `protected void`
  DefaultJSONWriter.`array(Object object, Method method)`
  `protected void`
  DefaultJSONWriter.`array(Iterator it, Method method)`
  `protected List`
  JSONReader.`array()`
  `protected void`
  DefaultJSONWriter.`bean(Object object)`
  Instrospect bean and serialize its properties
  `Object`
  JSONCleaner.`clean(String ognlPrefix, Object data)`
  `protected Object`
  JSONCleaner.`cleanList(String ognlPrefix, Object data)`
  `protected Object`
  JSONCleaner.`cleanMap(String ognlPrefix, Object data)`
  `protected abstract Object`
  JSONCleaner.`cleanValue(String ognlName, Object data)`
  `Object`
  JSONPopulator.`convert(Class clazz, Type type, Object value, Method method)`
  `protected String`
  JSONResult.`createJSONString(jakarta.servlet.http.HttpServletRequest request, Object rootObject)`
  `static Object`
  JSONUtil.`deserialize(Reader reader)`
  Deserializes a object from JSON
  `static Object`
  JSONUtil.`deserialize(String json)`
  Deserializes a object from JSON
  `protected void`
  DefaultJSONWriter.`enumeration(Enum enumeration)`
  Instrospect an Enum and serialize it as a name/value pair or as a bean including all its own properties
  `RPCResponse`
  JSONInterceptor.`invoke(Object object, Map data)`
  `protected void`
  DefaultJSONWriter.`map(Map map, Method method)`
  `protected Object`
  JSONReader.`number()`
  `protected Map`
  JSONReader.`object()`
  `void`
  JSONPopulator.`populateObject(Object object, Map elements)`
  `protected void`
  DefaultJSONWriter.`process(Object object, Method method)`
  Serialize object into json
  `protected void`
  DefaultJSONWriter.`processCustom(Object object, Method method)`
  Serialize custom object into json
  `protected Object`
  JSONReader.`read()`
  `Object`
  JSONReader.`read(String string)`
  `void`
  JSONUtil.`serialize(Writer writer, Object object)`
  Serializes an object into JSON to the given writer.
  `void`
  JSONUtil.`serialize(Writer writer, Object object, boolean cacheBeanInfo)`
  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.
  `String`
  JSONUtil.`serialize(Object object, boolean cacheBeanInfo)`
  Serializes an object into JSON.
  `String`
  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.
  `String`
  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.
  `String`
  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.
  `String`
  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`
  DefaultJSONWriter.`value(Object object, Method method)`
  Detect cyclic references
  `String`
  DefaultJSONWriter.`write(Object object)`
  `String`
  DefaultJSONWriter.`write(Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean excludeNullProperties)`
  `String`
  JSONWriter.`write(Object object)`
  `String`
  JSONWriter.`write(Object object, Collection<Pattern> excludeProperties, Collection<Pattern> includeProperties, boolean excludeNullProperties)`