Contains everything required to parse and serialise JSON
data.
Sample usage for parsing and accessing JSON:
import ceylon.json {
parse, Object = Object
}
String getAuthor(String json){
value parsedJson = parse(json);
"author must be a string"
assert(is Object parsedJson, is String author = parsedJson["author"]);
return author;
}
Alternatively, this variation will result in an
[[InvalidTypeException]] instead of an ...
Version0.4compared with
Version Details
| 0.3.2 | 0.4 | |
|---|---|---|
| Release date | Feb 13, 2021 | Feb 13, 2021 |
| Licenses | Apache | Apache |
| Vulnerabilities | None | None |
Compile Changes (1)
| 0.3.2 | 0.4 | ||
|---|---|---|---|
| Change | Group / Artifact | Previous | Current |
| ~ Updated | ceylon » collection | 0.3.2 | 0.4 |