projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jshn: do not export SEQ_*
[project/libubox.git]
/
sh
/
jshn.sh
diff --git
a/sh/jshn.sh
b/sh/jshn.sh
index
3aff5ea
..
93fbec2
100644
(file)
--- a/
sh/jshn.sh
+++ b/
sh/jshn.sh
@@
-103,7
+103,7
@@
_json_add_table() {
local table="JSON_$itype$seq"
_json_set_var "UP_$table" "$cur"
_json_export "KEYS_$table" ""
local table="JSON_$itype$seq"
_json_set_var "UP_$table" "$cur"
_json_export "KEYS_$table" ""
- [ "$itype" = "ARRAY" ] && _json_
export
"SEQ_$table" ""
+ [ "$itype" = "ARRAY" ] && _json_
set_var
"SEQ_$table" ""
_json_set_var JSON_CUR "$table"
_jshn_append "JSON_UNSET" "$table"
_json_set_var JSON_CUR "$table"
_jshn_append "JSON_UNSET" "$table"