Hi Kasun, I think it is ok to specifically initialize the type of convension to use when creating the reader.
-- Nandika ---------- Forwarded message ---------- From: Kasun Indrasiri < [EMAIL PROTECTED]> Date: Jun 13, 2007 12:14 PM Subject: JSON Support for Axis2C To: Apache AXIS C Developers List <[email protected]> Hi, Currently I have been implementing the StAX parser for 'Badgerfish' convention. Since there are two conventions to follow (Badgerfish and Mapped) when we are parsing JSON, I created two readers where each reader follows different conventions. StAX XML Reader |----- 'Badgerfish' Reader |----- 'Mapped' Reader But in this case we have to specifically initialize the type of the convention that we have to follow when we are creating the reader. Is there any way to do that switching (between Badgerfish and Mapped conventions) in dynamic way. Thanks.. Kasun. -- <[EMAIL PROTECTED]> <http://www.wso2.com>
