'Testing GeoJSON input/output.'

def test01e_json(self):

    from django.contrib.gis.gdal.prototypes.geom import GEOJSON
    if (not GEOJSON):
        return
    for g in self.geometries.json_geoms:
        geom = OGRGeometry(g.wkt)
        if (not hasattr(g, 'not_equal')):
            self.assertEqual(g.json, geom.json)
            self.assertEqual(g.json, geom.geojson)
        self.assertEqual(OGRGeometry(g.wkt), OGRGeometry(geom.json))
