You pass the string directly to the Open/OpenEx function.
In python it's just (gdal 1.x)
ds = ogr.Open('some geojson string')
or (gdal 2.x)
ds = gdal.OpenEx('some geojson string')
You pass the string directly to the Open/OpenEx function.
In python it's just (gdal 1.x)
ds = ogr.Open('some geojson string')
or (gdal 2.x)
ds = gdal.OpenEx('some geojson string')