I\'ve been using the JSON library for Python to get data from JSON files using Python.
infoFromJson = json.loads(jsonfile)
I fully understand h
Try the following:
infoFromJson = json.loads(jsonfile) print json2html.convert(json = infoFromJson)
The result from json2html.convert is a string.
json2html.convert
If you don't have json2html module:
$ pip install json2html
More examples here.