File: json_handler.out

package info (click to toggle)
qpdf 12.3.0-1
  • links: PTS
  • area: main
  • in suites: forky
  • size: 72,644 kB
  • sloc: cpp: 59,031; perl: 12,172; ansic: 6,809; sh: 1,231; python: 1,041; xml: 43; makefile: 42
file content (77 lines) | stat: -rw-r--r-- 1,104 bytes parent folder | download | duplicates (3)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
-- scalar --
.: string: potato
-- all --
.: json: {
  "five": [
    "x",
    false,
    "y",
    null,
    true
  ],
  "four": [
    "a",
    1
  ],
  "one": "potato",
  "phour": null,
  "six": {
    "a": {
      "Q": "baaa",
      "b": "quack"
    },
    "b": "moo"
  },
  "three": true,
  "two": 3.14
}
.five: json: [
  "x",
  false,
  "y",
  null,
  true
]
.five[0]: string: x
.five[1]: bool: false
.five[2]: string: y
.five[3]: null
.five[4]: bool: true
.five: json: array end
.four: json: [
  "a",
  1
]
.one: string: potato
.phour: json: null
.six: json: {
  "a": {
    "Q": "baaa",
    "b": "quack"
  },
  "b": "moo"
}
.six.a: json: {
  "Q": "baaa",
  "b": "quack"
}
.six.a.Q: json: "baaa"
.six.a.b: string: quack
.six.a: json: dict end
.six.b: string: moo
.six: json: dict end
.three: bool: true
.two: number: 3.14
.: json: dict end
-- fallback --
.: json: {
  "five": "not-array"
}
.five: string: not-array
.: json: dict end
-- errors --
bad type at top: JSON handler: value at . is not of expected type
.: json: {
  "x": "y"
}
unexpected key: JSON handler found unexpected key x in object at .