Bob Ippolito wrote: > I chose to only support the basic types out of the box, but you can > specialize the decoder and encoder any way you want, e.g. to provide a > JSON serialization scheme where you get a deque out if you put one in. > I can imagine scenarios where you would want to encode decimal as a > string for example, because the other end is probably going to parse > JSON numbers as doubles.
Thanks for allowing that; the last 3 JSON projects I've been involved with have had Python on both ends, and always passed Decimal, never floating-point. Robert Brewer [EMAIL PROTECTED] _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com