[Qgis-developer] JSON parsing
Matthias Kuhn
matthias at opengis.ch
Fri Aug 19 03:09:26 PDT 2016
Hi Patrick
On 08/19/2016 11:49 AM, Patrick Valsecchi wrote:
> Hi Nyall,
>
> On Fri, Aug 19, 2016 at 11:11 AM, Nyall Dawson <nyall.dawson at gmail.com
> <mailto:nyall.dawson at gmail.com>> wrote:
>
> Just wondering - why not XML in the database? It's how styles are
> stored, so it'd be nice to keep consistency.
>
>
> The widget config is a QMap<QString, QVariant> and it was easier to
> convert a JSON into that. But yes, this is a good idea (eventhough I
> hate XML).
Isn't the widget config stored in the style anyway?
Or is it for a plugin? In this case why not use `import json`?
>
> OK, switching to that.
>
> Thanks.
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
More information about the Qgis-developer
mailing list