# Uses of Enum
org.apache.tapestry5.json.JSONType

Packages that use JSONType
Package
Description
org.apache.tapestry5.json
Repackaged, improved (and tested) version of code originally https://github.com/tdunning/open-json Starting in release 5.4, `JSONObject` and `JSONArray` are serializable.
org.apache.tapestry5.json.exceptions

- ## Uses of JSONType in org.apache.tapestry5.json

  Methods in org.apache.tapestry5.json that return JSONType
  Modifier and Type
  Method
  Description
  `static JSONType`
  JSONType.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static JSONType[]`
  JSONType.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.

- ## Uses of JSONType in org.apache.tapestry5.json.exceptions

  Methods in org.apache.tapestry5.json.exceptions that return JSONType
  Modifier and Type
  Method
  Description
  `JSONType`
  JSONTypeMismatchException.`getRequiredType()`
  `JSONType`
  JSONValueNotFoundException.`getRequiredType()`
  Constructors in org.apache.tapestry5.json.exceptions with parameters of type JSONType
  Modifier
  Constructor
  Description
  ``
  `JSONTypeMismatchException(String location, JSONType requiredType, Class<? extends Object> invalidClass)`
  ``
  `JSONValueNotFoundException(String location, JSONType requiredType)`