Python has a builtin JSON module http://docs.python.org/2/library/json.htmlwhich reads JSON into a Python dict
- Nathan On Thu, Nov 15, 2012 at 12:02 AM, Andreas Neumann <[email protected]>wrote: > 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 > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
