assertEquals("{\"charX\":\"c\"}", Json.toJson(map, JsonFormat.compact()));
}
@Test //For issue 474
public void test_inner_class() {
JC c = new JC();
String str = Json.toJson(c);
Map<String, Map<String,Object>> map = (Map<String, Map<String, Object>>) Json.fromJson(str);
assertEquals(1, map.get("ixx").get("abc"));
}