Which one is the best JSON parser?

Nagy László Zsolt gandalf at shopzeus.com
Mon Jun 27 09:30:48 EDT 2016


On 2016-06-23, MRAB <python at 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 :-)


More information about the Python-list mailing list