X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=cgilite%2Fjson.sh;h=12afdc4d676b94b705b0c165fee2512c80891cb9;hb=e39b3e7489e5210ce3b5d5137de841c13b700d9d;hp=f43f8ec3c6aabe0633ab9cf45e78755db910a0f3;hpb=f71f8fee8e4ef12fb18f8ee1aee60245a77046c5;p=shellwiki diff --git a/cgilite/json.sh b/cgilite/json.sh index f43f8ec..12afdc4 100755 --- a/cgilite/json.sh +++ b/cgilite/json.sh @@ -95,7 +95,7 @@ json_number() { } json_array() { - local struct="$(DB2 new)" value json_document="$json_document" + local struct="$(DB2 "" new)" value json_document="$json_document" json_space case $json_document in @@ -141,7 +141,7 @@ json_array() { } json_object() { - local struct="$(DB2 new)" key value json_document="$json_document" + local struct="$(DB2 "" new)" key value json_document="$json_document" json_space case $json_document in