File: examples.json

package info (click to toggle)
cbor2 5.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 648 kB
  • sloc: ansic: 5,522; python: 3,884; makefile: 19; sh: 8
file content (120 lines) | stat: -rw-r--r-- 2,118 bytes parent folder | download | duplicates (4)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
    "bytes": [
        "",
        "\u0001\u0002\u0003\u0004",
        "\\xc2\\xc2"
    ],
    "decimals": [
        "14.123",
        "-14.123",
        NaN,
        Infinity,
        -Infinity
    ],
    "dict_key": [
        {
            "FrozenDict({2: 1})": ""
        }
    ],
    "embedded": [
        [
            "a",
            "b",
            "c",
            "d"
        ]
    ],
    "floats": [
        1.1,
        1e+300,
        -4.1,
        Infinity,
        NaN,
        -Infinity
    ],
    "fraction": [
        "2/5"
    ],
    "integers": [
        0,
        1,
        10,
        23,
        24,
        100,
        1000,
        1000000,
        1000000000000,
        18446744073709551615,
        18446744073709551616,
        -18446744073709551616,
        -18446744073709551617,
        -1,
        -10,
        -100,
        -1000
    ],
    "ipaddr": [
        "192.10.10.1",
        "2001:db8:85a3::8a2e:370:7334"
    ],
    "ipnet": [
        "192.168.0.0/24",
        "2001:db8:85a3::8a2e:0:0/96"
    ],
    "regex": [
        "hello (world)"
    ],
    "simple_key": [
        {
            "cbor_simple:99": null
        }
    ],
    "simples": [
        "cbor_simple:0",
        "cbor_simple:2",
        "cbor_simple:19",
        "cbor_simple:32"
    ],
    "specials": [
        false,
        true,
        null,
        "cbor:undef"
    ],
    "strings": [
        "",
        "a",
        "IETF",
        "\"\\",
        "ü",
        "水"
    ],
    "tag_as_key": [
        {
            "CBORtag:6007:notimportant": null
        }
    ],
    "tagged": [
        {
            "CBORTag:6000": "Hello"
        }
    ],
    "timestamps": [
        "2013-03-21T20:04:00+00:00",
        "2013-03-21T20:04:00.380841+00:00",
        "2013-03-21T22:04:00+02:00",
        "2013-03-21T20:04:00+00:00",
        "2013-03-21T20:04:00+00:00",
        "2013-03-21T20:04:00.123456+00:00",
        "2013-03-21T20:04:00+00:00"
    ],
    "tuple_key": [
        {
            "(2, 1)": ""
        }
    ],
    "uuid": [
        "urn:uuid:5eaffac8-b51e-4805-8127-7fdcc7842faf"
    ]
}