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 [[AssertionError]]
if the input ...
License | Apache |
---|---|
Tags | ceylonjson |
HomePage | http://ceylon-lang.org |
Ranking | #24735 in MvnRepository (See Top Artifacts) |
Used By | 18 artifacts |
Version | Vulnerabilities | Repository | Usages | Date | |
---|---|---|---|---|---|
1.3.x | 1.3.1 | Ceylon | Feb 13, 2021 | ||
1.3.0-1 | Ceylon |
0
| Feb 13, 2021 | ||
1.3.0 | Ceylon | Feb 13, 2021 | |||
1.2.x | 1.2.2 | Ceylon | Feb 13, 2021 | ||
1.2.1 | Ceylon |
0
| Feb 13, 2021 | ||
1.2.0 | Ceylon | Feb 13, 2021 | |||
1.1.x | 1.1.0 | Ceylon | Feb 13, 2021 | ||
1.0.x | 1.0.1 | Ceylon |
0
| Feb 13, 2021 | |
1.0.0 | Ceylon | Feb 13, 2021 | |||
0.6.x | 0.6.1 | Ceylon | Feb 13, 2021 | ||
0.6 | Ceylon |
0
| Feb 13, 2021 | ||
0.5.x | 0.5 | Ceylon | Feb 13, 2021 | ||
0.4.x | 0.4 | Ceylon |
0
| Feb 13, 2021 | |
0.3.x | 0.3.2 | Ceylon |
0
| Feb 13, 2021 | |
0.3.1 | Ceylon |
0
| Feb 13, 2021 |