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


Groups > comp.lang.python > #110577

Re: Which one is the best JSON parser?

From Nagy László Zsolt <gandalf@shopzeus.com>
Newsgroups comp.lang.python
Subject Re: Which one is the best JSON parser?
Date 2016-06-27 15:30 +0200
Message-ID <mailman.29.1467034250.2358.python-list@python.org> (permalink)
References <1150800609.939828.1466715495931.JavaMail.yahoo.ref@mail.yahoo.com> <1150800609.939828.1466715495931.JavaMail.yahoo@mail.yahoo.com> <dfd5b61b-74c0-99da-4175-fd1cb0b42631@mrabarnett.plus.com> <nkjedo$kd$1@ger.gmane.org> <5cd93315-95fd-b652-448a-19a6f3fe38ad@shopzeus.com>

Show all headers | View raw


On 2016-06-23, MRAB <python@mrabarnett.plus.com> wrote:
>> On 2016-06-23 21:58, David Shi via Python-list wrote:
>>> Can any one tell me?
>>> Regards.
>>> David
>>>
>> There's one in the standard library.
> Which has always worked fine for me...
Which always reminds me:

>>> import json
>>> d = {0:1, False:2}
>>> d
{0: 2}
>>> json.dumps(d)
'{"0": 2}'
>>>

WAT :-)

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


Thread

Re: Which one is the best JSON parser? Nagy László Zsolt <gandalf@shopzeus.com> - 2016-06-27 15:30 +0200
  Re: Which one is the best JSON parser? Ned Batchelder <ned@nedbatchelder.com> - 2016-06-27 06:43 -0700

csiph-web