public interface GeoJson<T extends Iterable<?>>
| Modifier and Type | Method and Description |
|---|---|
T |
getCoordinates()
The value of the coordinates member is always an
Iterable. |
String |
getType()
String value representing the type of the
GeoJson object. |
static GeoJson<?> |
of(String json) |
default String |
toJson() |
String getType()
GeoJson object.T getCoordinates()
Iterable. The structure for the elements within is
determined by getType() of geometry.static GeoJson<?> of(String json)
json - the JSON string to parseGeoJson objectConversionException - on parse errosdefault String toJson()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.