code: public static void toGeojsonPoint(Point point, StringBuilder sb) {
          Coordinate coord = point.getCoordinate();
          sb.append("{\"type\":\"Point\",\"coordinates\":[");
          sb.append(coord.x).append(",").append(coord.y);
          if (!Double.isNaN(coord.z)) {
              sb.append(",").append(coord.z);
          }
          sb.append("]}");
      }
docs: For type "Point", the "coordinates" member must be a single position.
  
  A position is the fundamental geometry construct. The "coordinates"
  member of a geometry object is composed of one position (in the case of a
  Point geometry), an array of positions (LineString or MultiPoint
  geometries), an array of arrays of positions (Polygons,
  MultiLineStrings), or a multidimensional array of positions
  (MultiPolygon).
  
  A position is represented by an array of numbers. There must be at least
  two elements, and may be more. The order of elements must follow x, y, z
  order (easting, northing, altitude for coordinates in a projected
  coordinate reference system, or longitude, latitude, altitude for
  coordinates in a geographic coordinate reference system). Any number of
  additional elements are allowed -- interpretation and meaning of
  additional elements is beyond the scope of this specification.
  
  Syntax:
  
  { "type": "Point", "coordinates": [100.0, 0.0] }
  
  @param point
  @param sb