code: private void parseGeometryMetadata(JsonParser jp, String geometryType) throws IOException, SQLException {        
          if (geometryType.equalsIgnoreCase(GeoJsonField.POINT)) {
               parsePointMetadata(jp);
               finalGeometryTypes.add(GeoJsonField.POINT);
          } else if (geometryType.equalsIgnoreCase(GeoJsonField.MULTIPOINT)) {
               parseMultiPointMetadata(jp);
               finalGeometryTypes.add(GeoJsonField.MULTIPOINT);
          } else if (geometryType.equalsIgnoreCase(GeoJsonField.LINESTRING)) {
               parseLinestringMetadata(jp);
               finalGeometryTypes.add(GeoJsonField.LINESTRING);
          } else if (geometryType.equalsIgnoreCase(GeoJsonField.MULTILINESTRING)) {
              parseMultiLinestringMetadata(jp);
              finalGeometryTypes.add(GeoJsonField.MULTILINESTRING);
          } else if (geometryType.equalsIgnoreCase(GeoJsonField.POLYGON)) {
               parsePolygonMetadata(jp);
               finalGeometryTypes.add(GeoJsonField.POLYGON);
          } else if (geometryType.equalsIgnoreCase(GeoJsonField.MULTIPOLYGON)) {
               parseMultiPolygonMetadata(jp);
               finalGeometryTypes.add(GeoJsonField.MULTIPOLYGON);
          } else if (geometryType.equalsIgnoreCase(GeoJsonField.GEOMETRYCOLLECTION)) {
               parseGeometryCollectionMetadata(jp);
               finalGeometryTypes.add(GeoJsonField.GEOMETRYCOLLECTION);
          } else {
              throw new SQLException("Unsupported geometry : " + geometryType);
          }
      }
docs: Parses a all type of geometries and check if the geojson is wellformed.
  
  Syntax:
  
  "geometry":{"type": "Point", "coordinates": [102.0,0.5]}
  
  @param jp
  @throws IOException