aeson-schemas-1.2.0: test/all_types.json
{
"bool": true,
"int": 1,
"int2": 2,
"double": 2.5,
"text": "asdf",
"scalar": "12,34",
"enum": "HELLO",
"maybeObject": {
"text": "foo"
},
"maybeObjectNull": null,
"maybeList": [
{
"text": "foo"
},
{
"text": "bar"
}
],
"maybeListNull": null,
"tryObject": {
"a": 1
},
"tryObjectNull": true,
"list": [
{
"type": "bool",
"maybeBool": true
},
{
"type": "int",
"maybeInt": 2
},
{
"type": "null",
"maybeNull": null
}
],
"union": [
"Hello",
{ "a": 1 },
[true, false],
"World!"
],
"keyForPhantom": 1
}