me.setYou(you);
JavaBean2JSON t1 = new JavaBean2JSON();
Object result = t1.transform(me, null);
System.out.println(result);
JSON2JavaBean t2 = new JSON2JavaBean();
TransformationContext context = new TransformationContextImpl();
context.setTargetDataType(new DataTypeImpl(MyBean.class, null));
Object v = t2.transform(new JSONObject(result.toString()), context);
Assert.assertTrue(v instanceof MyBean);
// String json =
// "{\"age\":30,\"books\":[],\"friends\":[\"John\",\"Mike\"],\"name\":\"Me\",\"vip\":true,\"you\":{\"id\":123,\"name\":null}}";
// Assert.assertEquals(json, result.toString());