File: th.expected

package info (click to toggle)
haskell-aeson 2.1.2.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,988 kB
  • sloc: haskell: 11,933; ansic: 123; makefile: 11
file content (48 lines) | stat: -rw-r--r-- 3,404 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
OneConstructor
Error in $: When parsing the constructor OneConstructor of type Types.OneConstructor expected Array but got String.
Error in $: When parsing the constructor OneConstructor of type Types.OneConstructor expected an empty Array but got Array of length 1.
Nullary
Error in $: When parsing Types.Nullary expected a String with the tag of a constructor but got X.
Error in $: When parsing Types.Nullary expected String but got Array.
SomeType (tagged)
Error in $: parsing Int failed, expected Number, but encountered Boolean
Error in $: key "contents" not found
Error in $: When parsing the record record of type Types.SomeType the key testone was not present.
Error in $.testone: parsing Double failed, unexpected Boolean
Error 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.
Error in $: key "tag" not found
Error in $: When parsing Types.SomeType expected Object but got Array.
SomeType (single-field)
Error in $: parsing Int failed, expected Number, but encountered Object
Error in $: parsing Int failed, expected Number, but encountered Array
Error 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.
Error in $: When parsing Types.SomeType expected an Object with a single tag/contents pair but got 2 pairs.
Error in $: When parsing Types.SomeType expected an Object with a single tag/contents pair but got 0 pairs.
Error in $: When parsing Types.SomeType expected Object but got Array.
Error in $: not enough input. Expecting ':'
Error in $: not enough input. Expecting object value
Error in $: not enough input. Expecting ',' or '}'
SomeType (two-element array)
Error in $: parsing Int failed, expected Number, but encountered Boolean
Error in $: When parsing the constructor Record of type Types.SomeType expected Object but got Null.
Error 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.
Error 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.
Error in $: When parsing Types.SomeType expected an Array of 2 elements but got 0 elements
Error in $: When parsing Types.SomeType expected Array but got Object.
Error in $: not enough input. Expecting ',' or ']'
Error in $: not enough input. Expecting json list value
SomeType (reject unknown fields)
Error in $: Unknown fields: ["testZero"]
Error in $: key "tag" not found
Error in $.testone: parsing Double failed, unexpected Boolean
Foo (reject unknown fields)
Error in $: Unknown fields: ["tag"]
Foo (reject unknown fields, tagged single)
Error in $: Unknown fields: ["unknownField"]
EitherTextInt
Error in $: When parsing the constructor NoneNullary of type Types.EitherTextInt expected String but got String.
Error in $: When parsing the constructor NoneNullary of type Types.EitherTextInt expected String but got Array.
Product2 Int Bool
Error in $: expected Bool, but encountered Null
Error in $: When parsing the constructor Product2 of type Types.Product2 expected Array of length 2 but got Array of length 0.
Error in $: When parsing the constructor Product2 of type Types.Product2 expected Array but got Object.