JSON
classin packageklyn.io.json
public class JSON:
JSON utility entry-point.
Notes:
- Native parsing/serialization is used for performance.
- File and reader/writer workflows are handled in Klyn wrappers.
Methods
| 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 |
parseList |
Parses JSON array from a string, a reader or a file. |
| public static |
parseMap |
Parses JSON object from a string, a reader or a file. |
| public static |
stringify |
Serializes a value as JSON. |