Decoding JSON file using python
random832 at fastmail.us
random832 at fastmail.us
Wed May 27 19:06:50 EDT 2015
On Wed, May 27, 2015, at 18:23, Karthik Sharma wrote:
> The JSON structure is valid as shown by http://jsonlint.com/
> I want to be able to access the different fields inside `data` such as
> `severity`, `subject` and also fields inside `tdetails` such as `CPUs`
> and `Product`. How do I do this?
your data object is a string, it doesn't have anything inside it. if you
want it to be a json object you'll need to actually use the json parser
on it.
More information about the Python-list
mailing list