File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ bash_object.traverse() {
84
84
bash_object.parse_virtual_object " $virtual_item "
85
85
local current_object_name=" $REPLY1 "
86
86
local vmd_dtype=" $REPLY2 "
87
+
87
88
local -n current_object=" $current_object_name "
88
89
89
90
# If we are not on the last element of the query, then do nothing. We have
@@ -203,7 +204,16 @@ bash_object.traverse() {
203
204
local key_value=" ${current_object["$key"]} "
204
205
205
206
if [ " ${key_value:: 2} " = $' \x1C\x1D ' ]; then
206
- :
207
+ virtual_item=" ${key_value# ??} "
208
+
209
+ bash_object.parse_virtual_object " $virtual_item "
210
+ local current_object_name=" $REPLY1 "
211
+ local vmd_dtype=" $REPLY2 "
212
+
213
+ local -n current_object=" $current_object_name "
214
+
215
+ # TODO: arrays, objects
216
+ current_object[" $key " ]=" $final_value "
207
217
else
208
218
# TODO: throw error
209
219
:
You can’t perform that action at this time.
0 commit comments