BooleanJsonAdapter { @FromJson @IntBoolean boolean read(int value) { return value != 0; }    }
@Test public void read() { BooleanJsonAdapter adapter = new BooleanJsonAdapter(); assertTrue(adapter.read(1)); assertFalse(adapter.read(0)); }