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 |
Date | Feb 13, 2021 |
Files | pom (2 KB) jar (123 KB) View All |
Repositories | Ceylon |
Ranking | #24700 in MvnRepository (See Top Artifacts) |
Used By | 18 artifacts |
Note: this artifact is located at Ceylon repository (https://modules.ceylon-lang.org/maven/1/)
Compile Dependencies (2)
Category/License | Group / Artifact | Version | Updates | |
---|---|---|---|---|
Apache | ceylon » collection | 1.3.1 | ✔ | |
JVM Languages | ceylon » language | 1.3.1 | 1.3.3 |
Licenses
License | URL |
---|---|
Apache Software License |
Developers
Name | Dev Id | Roles | Organization | |
---|---|---|---|---|
Stéphane Épardaud | ||||
Tom Bentley |