summaryrefslogtreecommitdiff
path: root/trace
diff options
context:
space:
mode:
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