+ "n:8, "
+ "region:'(4,19]',"
+ "regionArray : ['(2,3)','[6,9)'],"
+ "regionList : ['(2,3)','(6,8]']"
+ "}";
JX jx = Json.fromJson(JX.class, str);
String str2 = Json.toJson(jx);
NutMap map = Json.fromJson(NutMap.class, str2);
assertEquals(jx.getRegion().toString(), map.get("region"));
String[] ss = map.getArray("regionArray", String.class);
assertEquals(2, ss.length);
assertEquals("(2,3)", ss[0]);
assertEquals("[6,9)", ss[1]);