|
|
|
|
|
by murrayh
5690 days ago
|
|
How about this? <Foo1 name="foo1">
<Bar1 name="bar1"/>
</Foo1>
<Foo2 name="foo2">
<Bar2 name="bar2"/>
</Foo2>
[["Foo1", {"name" : "foo1"}, [
["Bar1", {"name" : "bar1" }]
],
["Foo2", {"name" : "foo2"}, [
["Bar2", {"name" : "bar2" }]
]]
I personally wouldn't do this, but the arbitrary encodings between the two samples are now equivalent. |
|