@@ -0,0 +1,282 @@
+package ollie.adapter;%0A%0Aimport ollie.TypeAdapter;%0A%0Apublic class BooleanAdapter extends TypeAdapter%3CBoolean, Integer%3E %7B%0A%09@Override%0A%09public Integer serialize(Boolean value) %7B%0A%09%09return value ? 1 : 0;%0A%09%7D%0A%0A%09@Override%0A%09public Boolean deserialize(Integer value) %7B%0A%09%09return value != 0;%0A%09%7D%0A%7D

Add Boolean adapter.