File: json_color.fqtest

package info (click to toggle)
fq 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 106,624 kB
  • sloc: xml: 2,835; makefile: 250; sh: 241; exp: 57; ansic: 21
file content (25 lines) | stat: -rw-r--r-- 3,315 bytes parent folder | download
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
# TODO: tests descorator with different types, move this test
$ fq -C d json.gz
     |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: json.gz (gzip)
     |                                               |                |  members[0:1]:
     |                                               |                |    [0]{}: member
0x000|1f 8b                                          |..              |      identification: raw bits (valid)
0x000|      08                                       |  .             |      compression_method: "deflate" (8)
     |                                               |                |      flags{}:
0x000|         00                                    |   .            |        text: false
0x000|         00                                    |   .            |        header_crc: false
0x000|         00                                    |   .            |        extra: false
0x000|         00                                    |   .            |        name: false
0x000|         00                                    |   .            |        comment: false
0x000|         00                                    |   .            |        reserved: 0
0x000|            65 0a 08 61                        |    e..a        |      mtime: 1627916901 (2021-08-02T15:08:21Z)
0x000|                        00                     |        .       |      extra_flags: 0
0x000|                           03                  |         .      |      os: "unix" (3)
     |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|
  0x0|7b 22 61 22 3a 20 31 32 33 7d 0a|              |{"a": 123}.|    |      uncompressed: raw bits
0x000|                              ab 56 4a 54 b2 52|          .VJT.R|      compressed: raw bits
0x010|30 34 32 ae e5 02 00                           |042....         |
0x010|                     20 ac d2 9c               |        ...     |      crc32: 0x9cd2ac20 (valid)
0x010|                                 0b 00 00 00|  |           ....||      isize: 11
     |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|
  0x0|7b 22 61 22 3a 20 31 32 33 7d 0a|              |{"a": 123}.|    |  uncompressed: {} (json)