kristopolous / TickTick

JSON in your Bash scripts

Home Page:http://9ol.es/TheEmperorsNewClothes.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ER] Emit Objects as JSON

boxxxie opened this issue · comments

``
curl_msg = { 
    "source": "https://$user_pass@$domain/$db", 
    "target": "$db",
    "create_target":true
}
``
echo $curl_msg
echo ``curl_msg.source``
echo ${curl_msg}
echo ``curl_msg``

i can echo parts of the object, but not the whole object (which is what i desire).

i see only one output, which is curl_msg.source

Right, not supported. It would be wonderful though.