shaoguang geng wrote:
Hi, Lucaino:
I tried more, and I noticed that to make JSONObject->pojo work, I need to
annote the service interface as @Remoteable.
The actual transform happens as:
JSONObject->JSON2XMLStreamReader->XMLStreamReader->XML2JavaBeanTransformer->pojo
So inside this chain, I don't care what the xml is. But unfortrunately, result
of this transformation doesn't meed saitisfaction.
I agree with you that XML should not be involved in the JSON to JavaBean
transformation.
I just looked at the databinding-json extension and it contributes a
JavaBean2JSON transformer but it looks like there's no JSON2JavaBean
transformer.
You probably need to implement one :) It should be easy and similar to
the other transformers that work with either JSON or JavaBeans.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]