[Qgis-developer] Manipulating JSON files from Python

Andreas Neumann a.neumann at carto.net
Wed Nov 14 05:02:00 PST 2012


Hi all,

I would like to write small utility to manipulate metadata in a JSON
file (for QGIS Webclient), like this one:
http://webgis.uster.ch/qgis-web-client-dev/js/GISProjectListing.js

The tool should import the JSON file, change some values and write it back.

The idea would be to update, e.g. the time the data was last updated or
other values.

My questions:

* what library should I use? SimpleJSON? Others?

* Does someone have sample code around that does something similar?

Thanks,
Andreas



More information about the Qgis-developer mailing list