code: @Override
  	public void serializeCollection(BinderContext context, SerializerWrapper serializerWrapper, Collection<E> collection) throws Exception {
  		switch (context.getSupportedFormat()) {
  		case XML: {
  			throw (new KriptonRuntimeException(context.getSupportedFormat() + " context does not support direct collection persistance"));
  		}
  		default: {
  			JacksonWrapperSerializer wrapper = (JacksonWrapperSerializer) serializerWrapper;
  			JsonGenerator jacksonGenerator=wrapper.jacksonGenerator;
  
  			try {
  				jacksonGenerator.writeStartArray();
  				if (context.getSupportedFormat().onlyText)
  					for (E object : collection) {
  						serializeOnJacksonAsString(object, jacksonGenerator);
  					}
  				else
  					for (E object : collection) {
  						serializeOnJackson(object, jacksonGenerator);
  					}
  				jacksonGenerator.writeEndArray();
  			} catch (IOException e) {
  				e.printStackTrace();
  				throw (new KriptonRuntimeException(e));
  			}
  		}
  			break;
  		}
  	}
docs: /* (non-Javadoc)
  @see com.abubusoft.kripton.BinderMapper#serializeCollection(com.abubusoft.kripton.BinderContext, com.abubusoft.kripton.persistence.SerializerWrapper, java.util.Collection)