Using the default json lib is easy and straightforward:

import json
info = json.loads('file.json')
# Use dict and list to navigate through 'info'


Sadly, I'm working in a script and the only format the server gives is XML,
I searched for a good alternative and didn't find anything as easy as the
default json lib.

Any tips?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to