axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandika Jayawardana" <jayaw...@gmail.com>
Subject Re: JSON Support for Axis2C
Date Wed, 13 Jun 2007 09:29:08 GMT
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 < kasun147@gmail.com>
Date: Jun 13, 2007 12:14 PM
Subject: JSON Support for Axis2C
To: Apache AXIS C Developers List <axis-c-dev@ws.apache.org>

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.


-- 

<nandika@wso2.com> <http://www.wso2.com>

Mime
View raw message