diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:01:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:01:36 +0000 |
commit | 62e4c68907d8d33709c2c1f92a161dff00b3d5f2 (patch) | |
tree | adbbaf3acf88ea08f6eeec4b75ee98ad3b07fbdc /test/datafile_simple.19 | |
parent | Initial commit. (diff) | |
download | lnav-62e4c68907d8d33709c2c1f92a161dff00b3d5f2.tar.xz lnav-62e4c68907d8d33709c2c1f92a161dff00b3d5f2.zip |
Adding upstream version 0.11.2.upstream/0.11.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | test/datafile_simple.19 | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/test/datafile_simple.19 b/test/datafile_simple.19 new file mode 100644 index 0000000..ce58fc9 --- /dev/null +++ b/test/datafile_simple.19 @@ -0,0 +1,53 @@ + list [foo(bar=1), foo(bar=2), foo(bar=3)] + key 6:6 ^ + key 6:9 ^-^ foo + key 10:13 ^-^ bar + num 14:15 ^ 1 + val 14:15 ^ 1 +pair 10:15 ^---^ bar=1 + grp 10:15 ^---^ bar=1 + val 10:15 ^---^ bar=1 +pair 6:15 ^-------^ foo(bar=1 + key 18:21 ^-^ foo + key 22:25 ^-^ bar + num 26:27 ^ 2 + val 26:27 ^ 2 +pair 22:27 ^---^ bar=2 + grp 22:27 ^---^ bar=2 + val 22:27 ^---^ bar=2 +pair 18:27 ^-------^ foo(bar=2 + key 30:33 ^-^ foo + key 34:37 ^-^ bar + num 38:39 ^ 3 + val 38:39 ^ 3 +pair 34:39 ^---^ bar=3 + grp 34:39 ^---^ bar=3 + val 34:39 ^---^ bar=3 +pair 30:39 ^-------^ foo(bar=3 + grp 6:39 ^-------------------------------^ foo(bar=1), foo(bar=2), foo(bar=3 +pair 6:39 ^-------------------------------^ foo(bar=1), foo(bar=2), foo(bar=3 +msg :list [foo(bar=1), foo(bar=2), foo(bar=3)] +format :list [#)] +[ + { + "foo": [ + { + "bar": 1 + } + ] + }, + { + "foo": [ + { + "bar": 2 + } + ] + }, + { + "foo": [ + { + "bar": 3 + } + ] + } +] |