code: @SuppressWarnings("unchecked")
  	@Override
  	public <E> void serialize(E object, Writer output) {
  		if (object == null)
  			return;
  
  		try (SerializerWrapper serializer = createSerializer(output)) {
  			mapperFor((Class<E>) object.getClass()).serialize(this, serializer, object);
  		} catch (Exception e) {
  			e.printStackTrace();
  			throw new KriptonRuntimeException(e);
  		}
  	}
docs: /* (non-Javadoc)
  @see com.abubusoft.kripton.BinderContext#serialize(java.lang.Object, java.io.Writer)