summaryrefslogtreecommitdiff
path: root/trace
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-05-22 15:47:52 -0400
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-05-22 15:47:52 -0400
commita23ae9818310834f54a500c0e583c3652395f0da (patch)
tree3a93d4240e94982a86b9c521a02dfb2841dfb9a5 /trace
parentd5e2eee4dfe60ffc44883130cff22072f13efbe3 (diff)
wip
Diffstat (limited to 'trace')
-rwxr-xr-xtrace30
1 files changed, 30 insertions, 0 deletions
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