[LRUG] On json and yaml

MG Lim mirageglobe at gmail.com
Tue Apr 29 05:25:16 PDT 2014


Hi all,

I am building an automated bash script in ruby. Just wondering if anyone
has pointers for using either json or yaml as store for this.

for example....

yaml

list:
  script a:
    - clear

or
json

{
  "script": "clear"
}

Contents are all bash scripts with labels. My key concern is if there are
issues in interpretation when its parsed.

thanks

-- 
Jimmy Mian-Guan Lim

Email - mirageglobe at gmail.com | Profile - www.mglim.com
Twitter - twitter.com/mirageglobe | LinkedIn -
uk.linkedin.com/in/mirageglobe

DracoTurtur <http://www.dracoturtur.com/> | Creative Web Engineering
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20140429/ce437650/attachment-0003.html>


More information about the Chat mailing list