TransformationContext context = new TransformationContextImpl();
DataType dt = new DataTypeImpl(Object.class, new XMLType(new QName("http://foo.com", "root"), null));
context.setTargetDataType(dt);
OMElement element = t1.transform(new JSONObject(JSON_STR), context);
StringWriter writer = new StringWriter();
element.serialize(writer);
// System.out.println(writer.toString());
}
public void testString2JSON() throws Exception {
String json = "{\"name\":\"John\",\"age\":25}";