When a Geometry containing a single list of LngLatAlt within its coordinates list was serialized using an ObjectMapper with SerializationFeature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED enabled the resulting output no longer matched the examples in RFC7946 due to the array brackets for the coordinates list being omitted. This deviation in expected json format prevents deserialization of the output back to the original Geometry. Preventing this feature from activating on the coordinates list in Geometry, even when enabled in the ObjectMapper, resolves the breaking of the idempotent nature of serialization and deserialization by keeping the output as close to the examples in RFC7946 as possible.
When a
Geometry
containing a single list ofLngLatAlt
within its coordinates list was serialized using an ObjectMapper with SerializationFeature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED enabled the resulting output no longer matched the examples in RFC7946 due to the array brackets for the coordinates list being omitted. This deviation in expected json format prevents deserialization of the output back to the originalGeometry
. Preventing this feature from activating on the coordinates list inGeometry
, even when enabled in theObjectMapper
, resolves the breaking of the idempotent nature of serialization and deserialization by keeping the output as close to the examples in RFC7946 as possible.Intended to resolve #68