diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-05-22 15:47:52 -0400 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-05-22 15:47:52 -0400 |
commit | a23ae9818310834f54a500c0e583c3652395f0da (patch) | |
tree | 3a93d4240e94982a86b9c521a02dfb2841dfb9a5 /trace | |
parent | d5e2eee4dfe60ffc44883130cff22072f13efbe3 (diff) |
wip
Diffstat (limited to 'trace')
-rwxr-xr-x | trace | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -0,0 +1,30 @@ +#!/bin/bash + +# no args +json_object_beg() { + echo json_object_beg +} + +# no args +json_object_end() { + echo json_object_end +} + +# no args +json_array_beg() { + echo json_array_beg +} + +# no args +json_array_end() { + echo json_array_end +} + +# $1=(key|string|number|bool|null) $2=$val +json_atom() { + printf 'json_atom %q %q\n' "$1" "$2" +} + +. "$(dirname -- "${BASH_SOURCE[0]}")/json.sh" + +json_parse |