All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.nmorel.gwtjackson.client.AbstractObjectReader Maven / Gradle / Ivy

Go to download

gwt-jackson is a GWT JSON serializer/deserializer mechanism based on Jackson annotations

There is a newer version: 0.15.4
Show newest version
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