Hi all, I have been working on the initial development phase of the JSON support for Axis2C project. (GSoC 2007 project). I used a JSON Object model which is available on http://oss.metaparadigm.com/json-c/ and using that object model I have implemented few components where we can give the JSON string and get the relevant JSON object. So, any valid JSON string can be converted to an in-memory JSON object. Since the JSON string cannot be parsed inline using neither Badgerfish nor Mapped, conversion of JSON string to JSON object is the initial stage of the project. After forming the JSON object, the object should be passed to the StAX parser. I designed a single StAX parser which can use the either 'Badgerfish' or 'Mapped' conventions to parser the JSON object and the convention should be initialize when the parser is creating. Also I thoroughly studied about the two conventions and areas where we have to be more conscious when we are parsing JSON strings. I planned to implement the StAX parser for a specific convention as an initial step. In a generic StAX parser there should be a 'next' method. So, in this case, as we call the 'next' method the parser should traverse (or move) through the given JSON object and the relevant StAX events should be triggered. These days I'm working on the design and the implementation of that part. I have few doubts regarding the license JSON-C implementation.
I want to clarify that whether I can use this free JSON-C implementation with Apache license. Therefore I included the copyright notice below. ------------------------------------------------------------------------------------------------------------------ Copyright (c) 2004, 2005 Metaparadigm Pte Ltd Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------------------------------------------ I'm so pleased to have any of your comments and guidelines regarding this project. Thanks, Kasun Indrasiri. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
