Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71547

Re: problems decoding json objects

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: problems decoding json objects
Date 2014-05-14 07:43 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-07358D.07433314052014@news.panix.com> (permalink)
References <53732AFB.8080204@googlemail.com> <mailman.9998.1400063958.18130.python-list@python.org>

Show all headers | View raw


In article <mailman.9998.1400063958.18130.python-list@python.org>,
 Skip Montanaro <skip@pobox.com> wrote:

> I guess JSON doesn't have tuples

JSON has sequences, which both Python lists and tuples serialize as 
(losing the distinction between them).  In the other direction, JSON 
sequences typically unpack as lists, but I think that's just convention.  
There might be json packages which unpack them as tuples.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: problems decoding json objects Skip Montanaro <skip@pobox.com> - 2014-05-14 05:39 -0500
  Re: problems decoding json objects Roy Smith <roy@panix.com> - 2014-05-14 07:43 -0400

csiph-web