java.lang.Object
com.amazonaws.services.dynamodbv2.datamodeling.unmarshallers.BooleanUnmarshaller
All Implemented Interfaces:
ArgumentUnmarshaller

public class BooleanUnmarshaller extends Object implements ArgumentUnmarshaller
An unmarshaller that unmarshals DynamoDB Bools (or Numbers) into Java Booleans. Numbers are handled for backwards compatibility with versions of the mapper written before the DynamoDB native Boolean type was added, which stored Java Booleans as either the Number 0 (false) or 1 (true).