Hi,
From: myself
Date: Tue, 16. Dec 2014 11:48
> According to http://json.org/ in the picture "string"
> double quotes (quotation mark) must be escaped. So I assume it is valid
> JSON. If so, there must be something wrong with the python parser?
httplib2 returns the content right (backslash escap
Hi Michael,
From: Michael DeHaan
Date: Mon, 15. Dec 2014 14:29
> Things like jsonlint pass, but it seems the Python JSON formatter does not
> like what you have.
> I'm wondering if this might actually not be valid JSON, or just that there is
> a bug in the python json library.
Thanks a lot. A
Hmm, that's curious.
Things like jsonlint pass, but it seems the Python JSON formatter does not
like what you have.
Here's a simple test program:
STRING = """
{ "names": [
"nameA",
"\"double quoted name\"",
"nameB"
] }
"""
import json
print json.loads(STRING)
I'm wondering if th
Hi,
I'm talking to a REST/json webservice via the URI module. The webservice is
correctly returning a list like this:
{ "names": [
"nameA",
"\"double quoted name\"",
"nameB"
] }
However the uri module does not retrun the json key, because
json.loads(content) fails. If I comment out try/e