Hi Kasun, If you have already implemented the Stax Parser for json then write the wrapper layer and see whether you can get the correct Axiom model.
--Nandika ---------- Forwarded message ---------- From: Kasun Indrasiri <[EMAIL PROTECTED]> Date: Jun 4, 2007 1:53 PM Subject: Re: JSON Support for Axis2C(GSoC2007) To: Apache AXIS C Developers List <[email protected]> On 6/4/07, Nandika Jayawardana <[EMAIL PROTECTED] > wrote:
I think it is better to use axutil module.
Yes, I can use the axutil. How about the implementation of the StAX parser. I do have two options -implement the StAX parser or - convert a json message to xml and pick the incoming json message and convert it to xml string and use axiom stax build to parse it and make an axiom model. At present I've implemented the StAX parser where we can parse a JSON object and trigger StAX events. What would be the best approach? Kasun -- [EMAIL PROTECTED] WSO2 Inc: http://www.wso2.com
