Re: JSYNC
William Spitzak <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
How are complex mapping keys supported?
Only simple way I can see is to disobey JSON syntax and allow maps and
lists as the keys.
A complex way is to invent a few new addresses. Then the following:
{{foo:bar} : value}
turns into:
{"&generatedA" : {"foo":"bar"},
"*generatedA" : "value"
}
where "generatedA" is an address produced by the from-YAML converter.
Big problem with this is that it will not round-trip convert to the
identity.
> <mailto:[email protected]>> wrote:
>
> Greetings from Taiwan,
>
> I just wrote this up: http://www.jsync.org/
>
> I'm interested to know what y'all think.
>
> Cheers, Ingy
------------------------------------------------------------------------------