In <[EMAIL PROTECTED]>, DH wrote: >> And what about true vs True and false vs False ?-) > > The syntax is the same, except for, as I said, JSON's multiline comments. > The semantics do differ, but that has nothing to do with the user's > question, about an alternative to XML for data representation. You > can use "true" or True or "null" or None or whatever semantic values > you want.
You can't use `True`, `False` and `None` in JSON documents. And strings are delimited by `"` and not `'`. The `\x??` escape is forbidden in strings and it's not allowed to leave out a leading zero in numbers, nor is it allowed to start a number with a unary `+`. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list