@Override public <T> T deserialize( ModuleDescriptor module, Class<T> type, InputStream state ) { return deserialize( module, valueTypeOf( module, type ), state ); }
@Override public <T> Function<T, String> serializeFunction() { return object -> serialize( Options.DEFAULT, object ); }
@Override public <T> Function<T, byte[]> toBytesFunction( Options options ) { return object -> toBytes( options, object ); }
@Override public <T> Stream<T> deserializeEach( ModuleDescriptor module, Class<T> type, String... states ) { return deserializeEach( module, valueTypeOf( module, type ), states ); }
@Override public <T> Stream<T> fromBytesEach( ModuleDescriptor module, Class<T> type, Iterable<byte[]> states ) { return fromBytesEach( module, valueTypeOf( module, type ), states ); }
@Override public <T> Function<String, T> deserializeFunction( ModuleDescriptor module, Class<T> type ) { return deserializeFunction( module, valueTypeOf( module, type ) ); }
@Override public <T> T fromBytes( ModuleDescriptor module, Class<T> type, byte[] bytes ) { return fromBytes( module, valueTypeOf( module, type ), bytes ); }
@Override public <T> Function<byte[], T> fromBytesFunction( ModuleDescriptor module, Class<T> type ) { return fromBytesFunction( module, valueTypeOf( module, type ) ); }
default <T> Function<Node, T> fromXml( ModuleDescriptor module, Class<T> type ) { return state -> fromXml( module, type, state ); }
@Override public <T> T deserialize( ModuleDescriptor module, Class<T> type, Reader state ) { return deserialize( module, valueTypeOf( module, type ), state ); }
@Override public <T> Stream<T> deserializeEach( ModuleDescriptor module, Class<T> type, Iterable<String> states ) { return deserializeEach( module, valueTypeOf( module, type ), states ); }
@Override public <T> Stream<T> fromBytesEach( ModuleDescriptor module, Class<T> type, byte[]... states ) { return fromBytesEach( module, valueTypeOf( module, type ), states ); }
@Override public <T> Function<T, byte[]> toBytesFunction() { return object -> toBytes( Options.DEFAULT, object ); }
@Override public <T> Function<T, String> serializeFunction( Options options ) { return object -> serialize( options, object ); }
@Override public <T> T deserialize( ModuleDescriptor module, Class<T> type, String state ) { return deserialize( module, valueTypeOf( module, type ), state ); }
@Override public <T> Stream<T> deserializeEach( ModuleDescriptor module, Class<T> type, String... states ) { return deserializeEach( module, valueTypeOf( module, type ), states ); }
@Override public <T> Stream<T> fromBytesEach( ModuleDescriptor module, Class<T> type, Iterable<byte[]> states ) { return fromBytesEach( module, valueTypeOf( module, type ), states ); }
@Override public <T> Function<T, byte[]> toBytesFunction( Options options ) { return object -> toBytes( options, object ); }
@Override public <T> T deserialize( ModuleDescriptor module, Class<T> type, String state ) { return deserialize( module, valueTypeOf( module, type ), state ); }
@Override public <T> Stream<T> deserializeEach( ModuleDescriptor module, Class<T> type, Iterable<String> states ) { return deserializeEach( module, valueTypeOf( module, type ), states ); }