thanks shameera. requirement is I have use gitblit api. Passing  obejcts to
the api is fine.
I need to process the repsonse. it's like JSON to Java object mapping.
I think Staxon is better than using Gson alone. right?

cheers!!


On Tue, Jul 16, 2013 at 3:12 PM, Asanka Dissanayake <[email protected]>wrote:

> cool.i think gson will suit for the purpose. thanks
>
> cheers!!
>
>
> On Tue, Jul 16, 2013 at 2:58 PM, Lasantha Fernando <[email protected]>wrote:
>
>> Hi Asanka,
>>
>> If you need to only serialize/deserialize json, I think you might use
>> google-gson (https://code.google.com/p/google-gson/). It has already
>> being used in already existing components (e.g. data-bridge).
>>
>> If you need something like JsonPath for querying JSON, you can try
>> json-path (https://code.google.com/p/json-path/). It is already bundled
>> in
>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/orbit/json-path/.
>> (It is used in ESB I think in and will be used with the next CEP release as
>> well)
>>
>> HTH,
>>
>> Lasantha
>>
>> On 16 July 2013 14:33, Asanka Dissanayake <[email protected]> wrote:
>>
>>> Hi Devs,
>>> Is there any $subject, which is recommended to use in wso2. I need to
>>> use one to deal with gilblit api.
>>>
>>> cheers!!
>>>
>>> --
>>>
>>> *Asanka Dissanayake
>>> Software Engineer*
>>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
>>> *
>>> email: [email protected] <[email protected]>,   blog:
>>> cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com  mobile: +94
>>> 71 8373821*
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Lasantha Fernando*
>> Software Engineer - Data Technologies Team
>> WSO2 Inc. http://wso2.com
>>
>> email: [email protected]
>> mobile: (+94) 71 5247551
>>
>
>
>
> --
>
> *Asanka Dissanayake
> Software Engineer*
> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
> *
> email: [email protected] <[email protected]>,   blog:
> cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com  mobile: +94 71
> 8373821*
>



-- 

*Asanka Dissanayake
Software Engineer*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
*
email: [email protected] <[email protected]>,   blog:
cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com  mobile: +94 71
8373821*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to