You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Isuru Eranga Suriarachchi (JIRA)" <ji...@apache.org> on 2006/12/21 16:39:22 UTC

[jira] Updated: (AXIS2-1902) JSON support for Axis2

     [ http://issues.apache.org/jira/browse/AXIS2-1902?page=all ]

Isuru Eranga Suriarachchi updated AXIS2-1902:
---------------------------------------------

    Attachment: jsonpatch.txt

> JSON support for Axis2
> ----------------------
>
>                 Key: AXIS2-1902
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1902
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: New Feature
>          Components: kernel
>    Affects Versions: 1.2
>            Reporter: Isuru Eranga Suriarachchi
>         Attachments: jsonpatch.txt
>
>
> I've implemented the JSON support for Axis2 and i'm attaching the patch with this. 
> I used the following JSON StAX parser implementation (under Apache License) which contains a StAX reader and writer for JSON.
> http://jettison.codehaus.org/
> Jettison current version works only with jdk 1.5. So I have already sent the patch to make it working with jdk 1.4 too. Hope they will apply it soon.I have uploaded the jettison jar which works with jdk 1.4, under http://people.apache.org/~thilina/jettison/jettison_JDK14.jar.
> Here, an OMSourcedElementImpl object is used with a JSONDataSource inside, in the receiving side. It can be used to build the OM element in case of a java service or it can be used to get the JSON string directly without building the OM element, in case of a java script service.
> I've implemented a JSONOMBuilder which gives the OMSourcedElementImpl when the getDocumentElement() method is called.
> This patch also contains an JSON integration test.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org