A Java library providing GeoJSON POJOs for seamless serialization and deserialization with Jackson.
GeoJson Jackson is a Java library that provides Plain Old Java Objects (POJOs) conforming to the GeoJSON specification. It enables seamless serialization and deserialization of geographic data structures using the Jackson JSON parser, solving the problem of handling GeoJSON in Java applications without manual parsing.
Java developers working with geospatial data, such as those building mapping applications, GIS tools, or services that process GeoJSON formats.
Developers choose this library because it offers a lightweight, specification-compliant solution that integrates directly with Jackson, eliminating the need to write custom GeoJSON parsing code and ensuring reliable data handling.
GeoJson POJOs for Jackson - serialize and deserialize objects with ease
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides all GeoJSON object types such as FeatureCollection and Polygon, enabling direct type-safe handling as shown in the code examples for reading and writing.
Leverages Jackson's ObjectMapper for straightforward serialization and deserialization, eliminating the need for custom parsing code, as demonstrated in the README snippets.
Adheres strictly to the 2008 GeoJSON specification, ensuring reliable interoperability with other geospatial tools and data sources that follow the same standard.
Supports instanceof checks and the visitor pattern for handling unknown GeoJSON structures, offering multiple approaches for dynamic data traversal as illustrated in the usage section.
Only conforms to the 2008 GeoJSON spec, missing features from newer versions like the 2016 specification which includes additional geometries and properties, limiting compatibility with modern data.
Tightly coupled with Jackson, making it unsuitable for projects using alternative JSON libraries, and adding overhead if Jackson isn't already part of the tech stack.
Focuses solely on serialization/deserialization without providing geospatial utilities (e.g., distance calculations or validation), requiring additional libraries for advanced functionality.