code: public static Geometry geomFromGeoJSON(String geojson) throws IOException, SQLException {
          if (geojson == null) {
              return null;
          }
          if (jsFactory == null) {
              jsFactory = new JsonFactory();
              jsFactory.configure(JsonParser.Feature.ALLOW_COMMENTS, true);
              jsFactory.configure(JsonParser.Feature.ALLOW_SINGLE_QUOTES, true);
              jsFactory.configure(JsonParser.Feature.ALLOW_NON_NUMERIC_NUMBERS, true);
              reader = new GJGeometryReader(new GeometryFactory());
          }
          JsonParser jp = jsFactory.createParser(geojson);
          return reader.parseGeometry(jp);
      }
docs: Convert a geojson geometry to geometry.
  
  @param geojson
  @return
  @throws java.io.IOException
  @throws java.sql.SQLException