JavaBean2JSON t1 = new JavaBean2JSON();
Object result = t1.transform(new String[] {"ABC", "DF"}, null);
System.out.println(result);
JSON2JavaBean t2 = new JSON2JavaBean();
TransformationContext context = new TransformationContextImpl();
context.setTargetDataType(new DataTypeImpl(String[].class, null));
Object v = t2.transform(result, context);
Assert.assertTrue(v instanceof String[]);
String[] strs = (String[])v;
Assert.assertEquals("ABC", strs[0]);
Assert.assertEquals("DF", strs[1]);