OL GeoJSON


```typeimport GeoJSON from 'ol/format/GeoJSON'```


### geojson to feature
```typeconst features = new GeoJSON({ dataProjection: 'EPSG:4326', featureProjection: 'EPSG:3857' }).readFeatures(json)```



### feature to geojson
```typeconst features = new GeoJSON().writeFeature(json)```




> [Class: GeoJSON](https://openlayers.org/en/latest/apidoc/module-ol_format_GeoJSON-GeoJSON.html)







