Re: YANQ: Nesting in YAML
- From: "basi" <basi_lio@xxxxxxxxxxx>
- Date: 17 Aug 2005 22:01:06 -0700
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
.
- Follow-Ups:
- Re: YANQ: Nesting in YAML
- From: basi
- Re: YANQ: Nesting in YAML
- References:
- YANQ: Nesting in YAML
- From: basi
- Re: YANQ: Nesting in YAML
- From: Ben Giddings
- YANQ: Nesting in YAML
- Prev by Date: Re: YANQ: Nesting in YAML
- Next by Date: Re: YANQ: Nesting in YAML
- Previous by thread: Re: YANQ: Nesting in YAML
- Next by thread: Re: YANQ: Nesting in YAML
- Index(es):
Relevant Pages
|