[Qgis-developer] Manipulating JSON files from Python
Matthias Kuhn
matthias.kuhn at gmx.ch
Wed Nov 14 05:19:48 PST 2012
Why not use the default python library? It will probably give the least
dependency problems.
http://docs.python.org/2/library/json.html
On Wed, 2012-11-14 at 14:02 +0100, Andreas Neumann 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
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list