1OneConstructor
2Error in $: When parsing the constructor OneConstructor of type Types.OneConstructor expected Array but got String.
3Error in $: When parsing the constructor OneConstructor of type Types.OneConstructor expected an empty Array but got Array of length 1.
4Nullary
5Error in $: When parsing Types.Nullary expected a String with the tag of a constructor but got X.
6Error in $: When parsing Types.Nullary expected String but got Array.
7SomeType (tagged)
8Error in $: parsing Int failed, expected Number, but encountered Boolean
9Error in $: key "contents" not found
10Error in $: When parsing the record record of type Types.SomeType the key testone was not present.
11Error in $.testone: parsing Double failed, unexpected Boolean
12Error in $: When parsing Types.SomeType expected an Object with a tag field where the value is one of [nullary, unary, product, record, list], but got X.
13Error in $: key "tag" not found
14Error in $: When parsing Types.SomeType expected Object but got Array.
15SomeType (single-field)
16Error in $: parsing Int failed, expected Number, but encountered Object
17Error in $: parsing Int failed, expected Number, but encountered Array
18Error in $: When parsing Types.SomeType expected an Object with a single tag/contents pair where the tag is one of [nullary, unary, product, record, list], but got X.
19Error in $: When parsing Types.SomeType expected an Object with a single tag/contents pair but got 2 pairs.
20Error in $: When parsing Types.SomeType expected an Object with a single tag/contents pair but got 0 pairs.
21Error in $: When parsing Types.SomeType expected Object but got Array.
22Error in $: not enough input. Expecting ':'
23Error in $: not enough input. Expecting object value
24Error in $: not enough input. Expecting ',' or '}'
25SomeType (two-element array)
26Error in $: parsing Int failed, expected Number, but encountered Boolean
27Error in $: When parsing the constructor Record of type Types.SomeType expected Object but got Null.
28Error in $: When parsing Types.SomeType expected a 2-element Array with a tag and contents element where the tag is one of [nullary, unary, product, record, list], but got X.
29Error in $: When parsing Types.SomeType expected an Array of 2 elements where the first element is a String but got Null at the first element.
30Error in $: When parsing Types.SomeType expected an Array of 2 elements but got 0 elements
31Error in $: When parsing Types.SomeType expected Array but got Object.
32Error in $: not enough input. Expecting ',' or ']'
33Error in $: not enough input. Expecting json list value
34SomeType (reject unknown fields)
35Error in $: Unknown fields: ["testZero"]
36Error in $: key "tag" not found
37Error in $.testone: parsing Double failed, unexpected Boolean
38Foo (reject unknown fields)
39Error in $: Unknown fields: ["tag"]
40Foo (reject unknown fields, tagged single)
41Error in $: Unknown fields: ["unknownField"]
42EitherTextInt
43Error in $: When parsing the constructor NoneNullary of type Types.EitherTextInt expected String but got String.
44Error in $: When parsing the constructor NoneNullary of type Types.EitherTextInt expected String but got Array.
45Product2 Int Bool
46Error in $: expected Bool, but encountered Null
47Error in $: When parsing the constructor Product2 of type Types.Product2 expected Array of length 2 but got Array of length 0.
48Error in $: When parsing the constructor Product2 of type Types.Product2 expected Array but got Object.
49