From a23ae9818310834f54a500c0e583c3652395f0da Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Wed, 22 May 2024 15:47:52 -0400 Subject: wip --- trace | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 trace (limited to 'trace') diff --git a/trace b/trace new file mode 100755 index 0000000..3aa657d --- /dev/null +++ b/trace @@ -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 -- cgit v1.2.3-54-g00ecf