blob: 9028586711e44b713002d0319f6054b45e6becc0 [file] [log] [blame]
khenaidooffe076b2019-01-15 16:08:08 -05001[
2 {
3 "cbor": "AA==",
4 "hex": "00",
5 "roundtrip": true,
6 "decoded": 0
7 },
8 {
9 "cbor": "AQ==",
10 "hex": "01",
11 "roundtrip": true,
12 "decoded": 1
13 },
14 {
15 "cbor": "Cg==",
16 "hex": "0a",
17 "roundtrip": true,
18 "decoded": 10
19 },
20 {
21 "cbor": "Fw==",
22 "hex": "17",
23 "roundtrip": true,
24 "decoded": 23
25 },
26 {
27 "cbor": "GBg=",
28 "hex": "1818",
29 "roundtrip": true,
30 "decoded": 24
31 },
32 {
33 "cbor": "GBk=",
34 "hex": "1819",
35 "roundtrip": true,
36 "decoded": 25
37 },
38 {
39 "cbor": "GGQ=",
40 "hex": "1864",
41 "roundtrip": true,
42 "decoded": 100
43 },
44 {
45 "cbor": "GQPo",
46 "hex": "1903e8",
47 "roundtrip": true,
48 "decoded": 1000
49 },
50 {
51 "cbor": "GgAPQkA=",
52 "hex": "1a000f4240",
53 "roundtrip": true,
54 "decoded": 1000000
55 },
56 {
57 "cbor": "GwAAAOjUpRAA",
58 "hex": "1b000000e8d4a51000",
59 "roundtrip": true,
60 "decoded": 1000000000000
61 },
62 {
63 "cbor": "G///////////",
64 "hex": "1bffffffffffffffff",
65 "roundtrip": true,
66 "decoded": 18446744073709551615
67 },
68 {
69 "cbor": "wkkBAAAAAAAAAAA=",
70 "hex": "c249010000000000000000",
71 "roundtrip": true,
72 "decoded": 18446744073709551616
73 },
74 {
75 "cbor": "O///////////",
76 "hex": "3bffffffffffffffff",
77 "roundtrip": true,
78 "decoded": -18446744073709551616,
79 "skip": true
80 },
81 {
82 "cbor": "w0kBAAAAAAAAAAA=",
83 "hex": "c349010000000000000000",
84 "roundtrip": true,
85 "decoded": -18446744073709551617
86 },
87 {
88 "cbor": "IA==",
89 "hex": "20",
90 "roundtrip": true,
91 "decoded": -1
92 },
93 {
94 "cbor": "KQ==",
95 "hex": "29",
96 "roundtrip": true,
97 "decoded": -10
98 },
99 {
100 "cbor": "OGM=",
101 "hex": "3863",
102 "roundtrip": true,
103 "decoded": -100
104 },
105 {
106 "cbor": "OQPn",
107 "hex": "3903e7",
108 "roundtrip": true,
109 "decoded": -1000
110 },
111 {
112 "cbor": "+QAA",
113 "hex": "f90000",
114 "roundtrip": true,
115 "decoded": 0.0
116 },
117 {
118 "cbor": "+YAA",
119 "hex": "f98000",
120 "roundtrip": true,
121 "decoded": -0.0
122 },
123 {
124 "cbor": "+TwA",
125 "hex": "f93c00",
126 "roundtrip": true,
127 "decoded": 1.0
128 },
129 {
130 "cbor": "+z/xmZmZmZma",
131 "hex": "fb3ff199999999999a",
132 "roundtrip": true,
133 "decoded": 1.1
134 },
135 {
136 "cbor": "+T4A",
137 "hex": "f93e00",
138 "roundtrip": true,
139 "decoded": 1.5
140 },
141 {
142 "cbor": "+Xv/",
143 "hex": "f97bff",
144 "roundtrip": true,
145 "decoded": 65504.0
146 },
147 {
148 "cbor": "+kfDUAA=",
149 "hex": "fa47c35000",
150 "roundtrip": true,
151 "decoded": 100000.0
152 },
153 {
154 "cbor": "+n9///8=",
155 "hex": "fa7f7fffff",
156 "roundtrip": true,
157 "decoded": 3.4028234663852886e+38
158 },
159 {
160 "cbor": "+3435DyIAHWc",
161 "hex": "fb7e37e43c8800759c",
162 "roundtrip": true,
163 "decoded": 1.0e+300
164 },
165 {
166 "cbor": "+QAB",
167 "hex": "f90001",
168 "roundtrip": true,
169 "decoded": 5.960464477539063e-08
170 },
171 {
172 "cbor": "+QQA",
173 "hex": "f90400",
174 "roundtrip": true,
175 "decoded": 6.103515625e-05
176 },
177 {
178 "cbor": "+cQA",
179 "hex": "f9c400",
180 "roundtrip": true,
181 "decoded": -4.0
182 },
183 {
184 "cbor": "+8AQZmZmZmZm",
185 "hex": "fbc010666666666666",
186 "roundtrip": true,
187 "decoded": -4.1
188 },
189 {
190 "cbor": "+XwA",
191 "hex": "f97c00",
192 "roundtrip": true,
193 "diagnostic": "Infinity"
194 },
195 {
196 "cbor": "+X4A",
197 "hex": "f97e00",
198 "roundtrip": true,
199 "diagnostic": "NaN"
200 },
201 {
202 "cbor": "+fwA",
203 "hex": "f9fc00",
204 "roundtrip": true,
205 "diagnostic": "-Infinity"
206 },
207 {
208 "cbor": "+n+AAAA=",
209 "hex": "fa7f800000",
210 "roundtrip": false,
211 "diagnostic": "Infinity"
212 },
213 {
214 "cbor": "+n/AAAA=",
215 "hex": "fa7fc00000",
216 "roundtrip": false,
217 "diagnostic": "NaN"
218 },
219 {
220 "cbor": "+v+AAAA=",
221 "hex": "faff800000",
222 "roundtrip": false,
223 "diagnostic": "-Infinity"
224 },
225 {
226 "cbor": "+3/wAAAAAAAA",
227 "hex": "fb7ff0000000000000",
228 "roundtrip": false,
229 "diagnostic": "Infinity"
230 },
231 {
232 "cbor": "+3/4AAAAAAAA",
233 "hex": "fb7ff8000000000000",
234 "roundtrip": false,
235 "diagnostic": "NaN"
236 },
237 {
238 "cbor": "+//wAAAAAAAA",
239 "hex": "fbfff0000000000000",
240 "roundtrip": false,
241 "diagnostic": "-Infinity"
242 },
243 {
244 "cbor": "9A==",
245 "hex": "f4",
246 "roundtrip": true,
247 "decoded": false
248 },
249 {
250 "cbor": "9Q==",
251 "hex": "f5",
252 "roundtrip": true,
253 "decoded": true
254 },
255 {
256 "cbor": "9g==",
257 "hex": "f6",
258 "roundtrip": true,
259 "decoded": null
260 },
261 {
262 "cbor": "9w==",
263 "hex": "f7",
264 "roundtrip": true,
265 "diagnostic": "undefined"
266 },
267 {
268 "cbor": "8A==",
269 "hex": "f0",
270 "roundtrip": true,
271 "diagnostic": "simple(16)"
272 },
273 {
274 "cbor": "+Bg=",
275 "hex": "f818",
276 "roundtrip": true,
277 "diagnostic": "simple(24)"
278 },
279 {
280 "cbor": "+P8=",
281 "hex": "f8ff",
282 "roundtrip": true,
283 "diagnostic": "simple(255)"
284 },
285 {
286 "cbor": "wHQyMDEzLTAzLTIxVDIwOjA0OjAwWg==",
287 "hex": "c074323031332d30332d32315432303a30343a30305a",
288 "roundtrip": true,
289 "diagnostic": "0(\"2013-03-21T20:04:00Z\")"
290 },
291 {
292 "cbor": "wRpRS2ew",
293 "hex": "c11a514b67b0",
294 "roundtrip": true,
295 "diagnostic": "1(1363896240)"
296 },
297 {
298 "cbor": "wftB1FLZ7CAAAA==",
299 "hex": "c1fb41d452d9ec200000",
300 "roundtrip": true,
301 "diagnostic": "1(1363896240.5)"
302 },
303 {
304 "cbor": "10QBAgME",
305 "hex": "d74401020304",
306 "roundtrip": true,
307 "diagnostic": "23(h'01020304')"
308 },
309 {
310 "cbor": "2BhFZElFVEY=",
311 "hex": "d818456449455446",
312 "roundtrip": true,
313 "diagnostic": "24(h'6449455446')"
314 },
315 {
316 "cbor": "2CB2aHR0cDovL3d3dy5leGFtcGxlLmNvbQ==",
317 "hex": "d82076687474703a2f2f7777772e6578616d706c652e636f6d",
318 "roundtrip": true,
319 "diagnostic": "32(\"http://www.example.com\")"
320 },
321 {
322 "cbor": "QA==",
323 "hex": "40",
324 "roundtrip": true,
325 "diagnostic": "h''"
326 },
327 {
328 "cbor": "RAECAwQ=",
329 "hex": "4401020304",
330 "roundtrip": true,
331 "diagnostic": "h'01020304'"
332 },
333 {
334 "cbor": "YA==",
335 "hex": "60",
336 "roundtrip": true,
337 "decoded": ""
338 },
339 {
340 "cbor": "YWE=",
341 "hex": "6161",
342 "roundtrip": true,
343 "decoded": "a"
344 },
345 {
346 "cbor": "ZElFVEY=",
347 "hex": "6449455446",
348 "roundtrip": true,
349 "decoded": "IETF"
350 },
351 {
352 "cbor": "YiJc",
353 "hex": "62225c",
354 "roundtrip": true,
355 "decoded": "\"\\"
356 },
357 {
358 "cbor": "YsO8",
359 "hex": "62c3bc",
360 "roundtrip": true,
361 "decoded": "ü"
362 },
363 {
364 "cbor": "Y+awtA==",
365 "hex": "63e6b0b4",
366 "roundtrip": true,
367 "decoded": "水"
368 },
369 {
370 "cbor": "ZPCQhZE=",
371 "hex": "64f0908591",
372 "roundtrip": true,
373 "decoded": "𐅑"
374 },
375 {
376 "cbor": "gA==",
377 "hex": "80",
378 "roundtrip": true,
379 "decoded": [
380
381 ]
382 },
383 {
384 "cbor": "gwECAw==",
385 "hex": "83010203",
386 "roundtrip": true,
387 "decoded": [
388 1,
389 2,
390 3
391 ]
392 },
393 {
394 "cbor": "gwGCAgOCBAU=",
395 "hex": "8301820203820405",
396 "roundtrip": true,
397 "decoded": [
398 1,
399 [
400 2,
401 3
402 ],
403 [
404 4,
405 5
406 ]
407 ]
408 },
409 {
410 "cbor": "mBkBAgMEBQYHCAkKCwwNDg8QERITFBUWFxgYGBk=",
411 "hex": "98190102030405060708090a0b0c0d0e0f101112131415161718181819",
412 "roundtrip": true,
413 "decoded": [
414 1,
415 2,
416 3,
417 4,
418 5,
419 6,
420 7,
421 8,
422 9,
423 10,
424 11,
425 12,
426 13,
427 14,
428 15,
429 16,
430 17,
431 18,
432 19,
433 20,
434 21,
435 22,
436 23,
437 24,
438 25
439 ]
440 },
441 {
442 "cbor": "oA==",
443 "hex": "a0",
444 "roundtrip": true,
445 "decoded": {
446 }
447 },
448 {
449 "cbor": "ogECAwQ=",
450 "hex": "a201020304",
451 "roundtrip": true,
452 "skip": true,
453 "diagnostic": "{1: 2, 3: 4}"
454 },
455 {
456 "cbor": "omFhAWFiggID",
457 "hex": "a26161016162820203",
458 "roundtrip": true,
459 "decoded": {
460 "a": 1,
461 "b": [
462 2,
463 3
464 ]
465 }
466 },
467 {
468 "cbor": "gmFhoWFiYWM=",
469 "hex": "826161a161626163",
470 "roundtrip": true,
471 "decoded": [
472 "a",
473 {
474 "b": "c"
475 }
476 ]
477 },
478 {
479 "cbor": "pWFhYUFhYmFCYWNhQ2FkYURhZWFF",
480 "hex": "a56161614161626142616361436164614461656145",
481 "roundtrip": true,
482 "decoded": {
483 "a": "A",
484 "b": "B",
485 "c": "C",
486 "d": "D",
487 "e": "E"
488 }
489 },
490 {
491 "cbor": "X0IBAkMDBAX/",
492 "hex": "5f42010243030405ff",
493 "roundtrip": false,
494 "skip": true,
495 "diagnostic": "(_ h'0102', h'030405')"
496 },
497 {
498 "cbor": "f2VzdHJlYWRtaW5n/w==",
499 "hex": "7f657374726561646d696e67ff",
500 "roundtrip": false,
501 "decoded": "streaming"
502 },
503 {
504 "cbor": "n/8=",
505 "hex": "9fff",
506 "roundtrip": false,
507 "decoded": [
508
509 ]
510 },
511 {
512 "cbor": "nwGCAgOfBAX//w==",
513 "hex": "9f018202039f0405ffff",
514 "roundtrip": false,
515 "decoded": [
516 1,
517 [
518 2,
519 3
520 ],
521 [
522 4,
523 5
524 ]
525 ]
526 },
527 {
528 "cbor": "nwGCAgOCBAX/",
529 "hex": "9f01820203820405ff",
530 "roundtrip": false,
531 "decoded": [
532 1,
533 [
534 2,
535 3
536 ],
537 [
538 4,
539 5
540 ]
541 ]
542 },
543 {
544 "cbor": "gwGCAgOfBAX/",
545 "hex": "83018202039f0405ff",
546 "roundtrip": false,
547 "decoded": [
548 1,
549 [
550 2,
551 3
552 ],
553 [
554 4,
555 5
556 ]
557 ]
558 },
559 {
560 "cbor": "gwGfAgP/ggQF",
561 "hex": "83019f0203ff820405",
562 "roundtrip": false,
563 "decoded": [
564 1,
565 [
566 2,
567 3
568 ],
569 [
570 4,
571 5
572 ]
573 ]
574 },
575 {
576 "cbor": "nwECAwQFBgcICQoLDA0ODxAREhMUFRYXGBgYGf8=",
577 "hex": "9f0102030405060708090a0b0c0d0e0f101112131415161718181819ff",
578 "roundtrip": false,
579 "decoded": [
580 1,
581 2,
582 3,
583 4,
584 5,
585 6,
586 7,
587 8,
588 9,
589 10,
590 11,
591 12,
592 13,
593 14,
594 15,
595 16,
596 17,
597 18,
598 19,
599 20,
600 21,
601 22,
602 23,
603 24,
604 25
605 ]
606 },
607 {
608 "cbor": "v2FhAWFinwID//8=",
609 "hex": "bf61610161629f0203ffff",
610 "roundtrip": false,
611 "decoded": {
612 "a": 1,
613 "b": [
614 2,
615 3
616 ]
617 }
618 },
619 {
620 "cbor": "gmFhv2FiYWP/",
621 "hex": "826161bf61626163ff",
622 "roundtrip": false,
623 "decoded": [
624 "a",
625 {
626 "b": "c"
627 }
628 ]
629 },
630 {
631 "cbor": "v2NGdW71Y0FtdCH/",
632 "hex": "bf6346756ef563416d7421ff",
633 "roundtrip": false,
634 "decoded": {
635 "Fun": true,
636 "Amt": -2
637 }
638 }
639]