com.github.nmorel.gwtjackson.client.AbstractObjectWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-jackson Show documentation
Show all versions of gwt-jackson Show documentation
gwt-jackson is a GWT JSON serializer/deserializer mechanism based on Jackson annotations
package com.github.nmorel.gwtjackson.client;
/**
* Base implementation of {@link ObjectWriter}. Extends {@link AbstractObjectMapper} to avoid code duplication, trying to read with this
* writer will result in an {@link UnsupportedOperationException}.
*
* @author Nicolas Morel
*/
public abstract class AbstractObjectWriter extends AbstractObjectMapper implements ObjectWriter {
@Override
protected final JsonDeserializer newDeserializer( JsonDeserializationContext ctx ) {
throw new UnsupportedOperationException( "ObjectWriter doesn't support deserialization" );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy