Sha256: e44f169c4f85c8132f62a05bf43d676faf327fa1f9a95b132deafdc938881c34
Contents?: true
Size: 794 Bytes
Versions: 164
Compression:
Stored size: 794 Bytes
Contents
package sh.calaba.org.codehaus.jackson.map.deser.std; import java.io.IOException; import java.util.concurrent.atomic.AtomicBoolean; import sh.calaba.org.codehaus.jackson.JsonParser; import sh.calaba.org.codehaus.jackson.JsonProcessingException; import sh.calaba.org.codehaus.jackson.map.DeserializationContext; public class AtomicBooleanDeserializer extends StdScalarDeserializer<AtomicBoolean> { public AtomicBooleanDeserializer() { super(AtomicBoolean.class); } @Override public AtomicBoolean deserialize(JsonParser jp, DeserializationContext ctxt) throws IOException, JsonProcessingException { // 16-Dec-2010, tatu: Should we actually convert null to null AtomicBoolean? return new AtomicBoolean(_parseBooleanPrimitive(jp, ctxt)); } }
Version data entries
164 entries across 164 versions & 2 rubygems