Idris2/tests/contrib/json_002/expected

18 lines
507 B
Plaintext

1/1: Building ShowJSON (ShowJSON.idr)
Main> {"a":null,"b":true,"c":1.0,"d":"Hello, world","e":[null,"Lorem ipsum"],"f":{"key":"value"}}
JObject [("a", JNull), ("b", JBoolean True), ("c", JNumber 1.0), ("d", JString "Hello, world"), ("e", JArray [JNull, JString "Lorem ipsum"]), ("f", JObject [("key", JString "value")])]
{
"a": null,
"b": true,
"c": 1.0,
"d": "Hello, world",
"e": [
null,
"Lorem ipsum"
],
"f": {
"key": "value"
}
}
Main> Bye for now!