public class JSON:
JSON utility entry-point.
Notes:
| Modifier and Type | Member | Description |
|---|---|---|
| public static | parse | Parses JSON text into its natural Klyn representation. |
| public static | parseparse<TYPE>(json as String) as TYPE: |
Parses JSON text using the explicitly requested static 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 | stringifystringify(target as Object, object as Object = null, spaces as Boolean = true, pretty as Boolean = false, indent as Int = 0) as String throws JSONParseException, IOException: |
Serializes a value as JSON. |