You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Raymond Feng <en...@gmail.com> on 2010/04/15 17:31:47 UTC

Re: svn commit: r930100 - in /tuscany/sca-java-2.x/trunk/modules/databinding-json/src: main/java/org/apache/tuscany/sca/databinding/json/ main/java/org/apache/tuscany/sca/databinding/json/jackson/ test/java/org/apache/tuscany/sca/databinding/json/

The main problem here is that different JSON libraries use different classes 
to represent JSON objects/arrays. To name a few:

1. org.json.JSONObject
2. org.codehaus.jettision.JSONObject
3. org.codehaus.jackson.JSONNode

Jettsion provides the XML/JSON mapping. Jabsorb provides the json-rpc 
support and it has dependencies on 1. The AXIOM one is to allow JSON to be 
used with Axis2.

Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <an...@gmail.com>
Sent: Thursday, April 15, 2010 12:26 AM
To: <de...@tuscany.apache.org>
Subject: Re: svn commit: r930100 - in 
/tuscany/sca-java-2.x/trunk/modules/databinding-json/src: 
main/java/org/apache/tuscany/sca/databinding/json/ 
main/java/org/apache/tuscany/sca/databinding/json/jackson/ 
test/java/org/apache/tuscany/sca/databinding/json/

> Ping, are you going to get a chance to answer this before you go?
>
>   ...ant
>
> On Sun, Apr 4, 2010 at 9:39 AM, ant elder <an...@gmail.com> wrote:
>> On Thu, Apr 1, 2010 at 10:21 PM,  <rf...@apache.org> wrote:
>>> Author: rfeng
>>> Date: Thu Apr  1 21:21:25 2010
>>> New Revision: 930100
>>>
>>> URL: http://svn.apache.org/viewvc?rev=930100&view=rev
>>> Log:
>>> Enhance the JSON databindign with Jackson 1.5.0
>>>
>>
>> Whats the status of this JSON databinding with Jackson, does it do
>> enough so that there could be a JSON databinding that just use Jackson
>> and not all the other dependencies that the current databinding-json
>> has (eg jettison, jasorb, axiom)?
>>
>>   ...ant
>> 

Re: svn commit: r930100 - in /tuscany/sca-java-2.x/trunk/modules/databinding-json/src: main/java/org/apache/tuscany/sca/databinding/json/ main/java/org/apache/tuscany/sca/databinding/json/jackson/ test/java/org/apache/tuscany/sca/databinding/json/

Posted by ant elder <an...@apache.org>.
Ok but putting those other things aside for the moment what are the
capabilities of the databinding when using Jackson?

(what i'm interested in is using a very lightweight wrapper in the
binding to do the json-rpc protocol support and the tuscany
databinding just using Jackson to get the json strings, so i don't
care about jasorb or axiom support).

   ...ant

On Thu, Apr 15, 2010 at 4:31 PM, Raymond Feng <en...@gmail.com> wrote:
> The main problem here is that different JSON libraries use different classes
> to represent JSON objects/arrays. To name a few:
>
> 1. org.json.JSONObject
> 2. org.codehaus.jettision.JSONObject
> 3. org.codehaus.jackson.JSONNode
>
> Jettsion provides the XML/JSON mapping. Jabsorb provides the json-rpc
> support and it has dependencies on 1. The AXIOM one is to allow JSON to be
> used with Axis2.
>
> Thanks,
> Raymond
> --------------------------------------------------
> From: "ant elder" <an...@gmail.com>
> Sent: Thursday, April 15, 2010 12:26 AM
> To: <de...@tuscany.apache.org>
> Subject: Re: svn commit: r930100 - in
> /tuscany/sca-java-2.x/trunk/modules/databinding-json/src:
> main/java/org/apache/tuscany/sca/databinding/json/
> main/java/org/apache/tuscany/sca/databinding/json/jackson/
> test/java/org/apache/tuscany/sca/databinding/json/
>
>> Ping, are you going to get a chance to answer this before you go?
>>
>>  ...ant
>>
>> On Sun, Apr 4, 2010 at 9:39 AM, ant elder <an...@gmail.com> wrote:
>>>
>>> On Thu, Apr 1, 2010 at 10:21 PM,  <rf...@apache.org> wrote:
>>>>
>>>> Author: rfeng
>>>> Date: Thu Apr  1 21:21:25 2010
>>>> New Revision: 930100
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=930100&view=rev
>>>> Log:
>>>> Enhance the JSON databindign with Jackson 1.5.0
>>>>
>>>
>>> Whats the status of this JSON databinding with Jackson, does it do
>>> enough so that there could be a JSON databinding that just use Jackson
>>> and not all the other dependencies that the current databinding-json
>>> has (eg jettison, jasorb, axiom)?
>>>
>>>  ...ant
>>>
>