Closed Harmanz closed 5 years ago
You should have used json_insert_nested()
to append the submap to the list under "points"
, not json_set()
or json_insert()
with paths pointing to places that don't yet exist.
json_insert_nested(WorkingJson, "shift", "points", undefined, JsonStruct(JsonMap(
"num", 1,
"angle", JsonMap(
"min", 1,
"max", 1
)
)));
Thank you very much. Only your extension allowed me to work with jsons comfortable.
What i have:
What i have after using
json_unset(WorkingJson,"shift","points",2);
What i have after
or
What should be there
P.S. sorry if its not your problem again, but i need help :(