Re: YANQ: Nesting in YAML



Soon as I posted the correct description above, I tried:

in YAML
x:
bb:
- boo
aa:
- 2
- 3
y:
cc:
- see
- sea:
- weed
- sick
aa:
- 5

and got a result that looks good. (I swear I tried that solution before
and it didn't work!)

{"x"=>
{"aa"=>[2, 3],
"bb"=>["boo"]},
"y"=>
{"aa"=>[5],
"cc"=>["see",
{"sea"=>["weed", "sick"]}]}}

Apologies again and cheers!
basi

.



Relevant Pages

  • Re: Do you Gank?
    ... my pool of potential gankees is quite small. ... definition, and no, I have no clue what that definition is), I have ... And I'm never, never sick at sea! ...
    (alt.games.warcraft)
  • Re: Do you Gank?
    ... my pool of potential gankees is quite small. ... definition, and no, I have no clue what that definition is), I have ... And I'm never, never sick at sea! ...
    (alt.games.warcraft)
  • Re: Purpose of Life
    ... Sick at sea or use bad language? ... When a true genius appears in the world, ...
    (uk.religion.christian)
  • illnesses
    ... I was just wondering if tall people get sick as often as short ... since their mouths are above the sea of airborne ...
    (sci.med)