kristopolous / TickTick

JSON in your Bash scripts
http://9ol.es/TheEmperorsNewClothes.html
Other
579 stars 55 forks source link

[ER] Emit Objects as JSON #24

Open boxxxie opened 12 years ago

boxxxie commented 12 years ago
``
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

kristopolous commented 12 years ago

Right, not supported. It would be wonderful though.