Create Json Using Python In Qgis