@Test
public void objectWithNull() throws Exception {

    Type type = Converter.single(TestData.class, "root");
    TestData fromJson = fromJson(type, "{\n"
          + "  \"root\": null\n"
          + '}');
    assertThat(fromJson).isNull();
}