Skip to content

Commit

Permalink
Fix minor documentation error: CRS is used in module constructor not …
Browse files Browse the repository at this point in the history
…ObjectMapper (#158)
  • Loading branch information
grieshofer authored Aug 25, 2023
1 parent 9cce12e commit b376032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions json/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ You can configure a default Coordinate Reference System by passing it in the con

```java
CoordinateReferenceSystem<G2D> crs=...;
ObjectMapper mapper=new ObjectMapper(crs);
mapper.registerModule(new GeolatteGeomModule());
ObjectMapper mapper=new ObjectMapper();
mapper.registerModule(new GeolatteGeomModule(crs));
```

If no default is specified in the constructor, the default will be set to `WGS84`.
Expand Down

0 comments on commit b376032

Please sign in to comment.