com.github.nmorel.gwtjackson.client.AbstractObjectReader 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 ObjectReader}. Extends {@link AbstractObjectMapper} to avoid code duplication, trying to write with this
* reader will result in an {@link UnsupportedOperationException}.
*
* @author Nicolas Morel
*/
public abstract class AbstractObjectReader extends AbstractObjectMapper implements ObjectReader {
@Override
protected final JsonSerializer newSerializer( JsonSerializationContext ctx ) {
throw new UnsupportedOperationException( "ObjectReader doesn't support serialization" );
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy