public class JSON:
JSON utility entry-point.
Notes:
| Modifier and Type | Member | Description |
|---|---|---|
| public static | parse | Parses JSON text and casts to the requested type. |
| public static | parseparse<TYPE>(json as String) as TYPE: |
Parses JSON text and casts to the requested type. |
| public static | parseListparseList(source as Object) as ArrayList<Object> throws IOException: |
Parses JSON array from a string, a reader or a file. |
| public static | parseMapparseMap(source as Object) as Map<String, Object> throws IOException: |
Parses JSON object from a string, a reader or a file. |
| public static | stringify | Serializes a value as JSON. |