code: @Override
  	public void writeShapeSpecificSerialization(Point value, JsonGenerator jgen, SerializerProvider provider)
              throws IOException {
  		jgen.writeFieldName("type");
  		jgen.writeString("Point");
  		jgen.writeArrayFieldStart("coordinates");
          // set beanproperty to null since we are not serializing a real property
  		JsonSerializer<Object> ser = provider.findValueSerializer(Float.class, null);
  		ser.serialize((float)value.getX(), jgen, provider);
  		ser.serialize((float)value.getY(), jgen, provider);
  		jgen.writeEndArray();
  	}
docs: Method that can be called to ask implementation to serialize values of type this serializer handles.
  @param value Value to serialize; can not be null.
  @param jgen Generator used to output resulting Json content
  @param provider Provider that can be used to get serializers for serializing Objects value contains, if any.
  @throws java.io.IOException If serialization failed.