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 ...
Latest Versions
15 versions โ| Version | Vulnerabilities | Usages | Date | |
|---|---|---|---|---|
1.3.x | 1.3.1 |
1
| Feb 13, 2021 | |
| 1.3.0-1 |
0
| Feb 13, 2021 | ||
| 1.3.0 |
15
| Feb 13, 2021 | ||
1.2.x | 1.2.2 |
12
| Feb 13, 2021 | |
| 1.2.1 |
0
| Feb 13, 2021 | ||
| 1.2.0 |
13
| Feb 13, 2021 | ||
1.1.x | 1.1.0 |
1
| Feb 13, 2021 | |
1.0.x | 1.0.1 |
0
| Feb 13, 2021 | |
| 1.0.0 |
1
| Feb 13, 2021 | ||
0.6.x | 0.6.1 |
1
| Feb 13, 2021 | |
| 0.6 |
0
| Feb 13, 2021 | ||
0.5.x | 0.5 |
1
| Feb 13, 2021 | |
0.4.x | 0.4 |
0
| Feb 13, 2021 | |
0.3.x | 0.3.2 |
0
| Feb 13, 2021 | |
| 0.3.1 |
0
| Feb 13, 2021 |
