java.lang.Object
net.buildtheearth.terraminusminus.dataset.geojson.GeoJson

public final class GeoJson extends Object
  • Method Details

    • parse

      public static GeoJsonObject parse(@NonNull @NonNull Reader in)
      Parses a single GeoJSON object from the given Reader.
      Parameters:
      in - the Reader to read from
      Returns:
      the parsed GeoJSON object
    • parse

      public static GeoJsonObject parse(@NonNull @NonNull String json)
      Parses a single GeoJSON object from the given String.
      Parameters:
      json - the String containing the JSON text
      Returns:
      the parsed GeoJSON object