I use the built in json
for python 2.6. I'm having tons of trouble parsing jsons like this:
{
name: 'some name'
value: 'some value'
}
I found two reasons -
'
doesn't work. You need"
- the keys of the dictionary need to be strings. I.e
"name"
/"value"
Am I missing something? Is there a way to parse this kind of dictionary using the json
package? Is there any other python package that can parse this?
Thanks