ah right okey.

thanks.

On Wed, May 2, 2012 at 12:50 PM, Suhothayan Sriskandarajah <[email protected]>wrote:

>
>
> On Wed, May 2, 2012 at 12:23 PM, Nuwan Bandara <[email protected]> wrote:
>
>> hmm I am seeing it as a jar [1], what is ur reference ?
>
>
> In the same link[1] under the "maven-jar-plugin"  They have added all the
> necessary configurations for it to be a bundle,
> like Export-Package, bundle name version, etc, and when I directly add
> this as a dependency of my feature all worked well
>
>
> Suho
>
>>
>> [1]
>> http://repo1.maven.org/maven2/com/google/code/gson/gson/2.1/gson-2.1.pom
>>
>>
>> On Wed, May 2, 2012 at 12:16 PM, Suhothayan Sriskandarajah <[email protected]
>> > wrote:
>>
>>>
>>>
>>> On Wed, May 2, 2012 at 11:39 AM, Nuwan Bandara <[email protected]> wrote:
>>>
>>>> Hi Suho,
>>>>
>>>> Did you add gson to Orbit ? I cannot see it in the orbit/trunk
>>>>
>>>> No, This is because the google-gson Maven dependency itself is a bundle
>>> therefore so we can directly used that and no need to add it to orbit.
>>> Sorry for not updating the thread
>>>
>>> Suho
>>>
>>> On Wed, Mar 28, 2012 at 5:50 PM, Nuwan Bandara <[email protected]> wrote:
>>>>
>>>>> We are using org.json and json-simple for our requirements.
>>>>>
>>>>> Regards,
>>>>> /Nuwan
>>>>>
>>>>>
>>>>> On Wed, Mar 28, 2012 at 5:48 PM, Sagara Gunathunga <[email protected]>wrote:
>>>>>
>>>>>> +1 use google gson .
>>>>>>
>>>>>> There is a ongoing project to rewrite Axis2 JSON processing using
>>>>>> google gson, we have evaluated with a POC and receive some some
>>>>>> exciting numbers for performance tests. From 1.7.0 onwards gson will
>>>>>> be a Axis2 dependency too.
>>>>>>
>>>>>> Thanks !
>>>>>>
>>>>>> On Wed, Mar 28, 2012 at 3:24 PM, Sanjaya Vithanagama <
>>>>>> [email protected]> wrote:
>>>>>> > Hi Suho,
>>>>>> >
>>>>>> > We have simple-json[1] but it doesn't allow direct conversions. So
>>>>>> you'd
>>>>>> > have to create json objects ground up. But if your Java objects are
>>>>>> > serializable and type safe, Gson should be the correct approach as
>>>>>> it allows
>>>>>> > one line conversion using #toJson(object). In that case +1 for
>>>>>> adding it to
>>>>>> > orbit .
>>>>>> >
>>>>>> > [1] https://svn.wso2.org/repos/wso2/carbon/orbit/trunk/json-simple
>>>>>> >
>>>>>> > Regards,
>>>>>> > SanjayaV.
>>>>>> >
>>>>>> > On Wed, Mar 28, 2012 at 3:06 PM, Suhothayan Sriskandarajah <
>>>>>> [email protected]>
>>>>>> > wrote:
>>>>>> >>
>>>>>> >> Hi
>>>>>> >>
>>>>>> >> I have a use case in which I need to convert json to java object
>>>>>> and
>>>>>> >> vice-versa.
>>>>>> >> I found google gson[1] is capable of doing this conversion. But
>>>>>> currently
>>>>>> >> its not used in our platform
>>>>>> >> Are we using any alternatives to this? else I can go ahead and
>>>>>> include
>>>>>> >> google gson.
>>>>>> >>
>>>>>> >> [1] http://code.google.com/p/google-gson/
>>>>>> >>
>>>>>> >> Thanks
>>>>>> >> Suho
>>>>>> >>
>>>>>> >> --
>>>>>> >> S. Suhothayan
>>>>>> >> Software Engineer,
>>>>>> >> Data Technologies Team,
>>>>>> >> WSO2, Inc. http://wso2.com
>>>>>> >> lean.enterprise.middleware.
>>>>>> >>
>>>>>> >> email: [email protected] cell: (+94) 779 756 757
>>>>>> >> blog: http://suhothayan.blogspot.com/
>>>>>> >> twitter: http://twitter.com/suhothayan
>>>>>> >> linked-in: http://lk.linkedin.com/in/suhothayan
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> _______________________________________________
>>>>>> >> Dev mailing list
>>>>>> >> [email protected]
>>>>>> >> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>> >>
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > --
>>>>>> > Sanjaya Vithanagama
>>>>>> > WSO2, Inc.; http://wso2.com
>>>>>> > lean.enterprise.middleware
>>>>>> >
>>>>>> > cell: +94 71 342 2881
>>>>>> >
>>>>>> >
>>>>>> > _______________________________________________
>>>>>> > Dev mailing list
>>>>>> > [email protected]
>>>>>> > http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>> >
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Sagara Gunathunga
>>>>>>
>>>>>> Technical Lead; WSO2, Inc.; http://wso2.com
>>>>>> Blog - http://ssagara.blogspot.com
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks & Regards,
>>>>>
>>>>> Nuwan Bandara
>>>>> Senior Software Engineer
>>>>> WSO2 Inc. | http://wso2.com
>>>>> lean . enterprise . middleware
>>>>>
>>>>> http://nuwan.bandara.co
>>>>> *
>>>>> <http://www.nuwanbando.com/>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *
>>>> Thanks & Regards,
>>>>
>>>> Nuwan Bandara
>>>> Associate Technical Lead & Member, MC, Development Technologies
>>>> WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
>>>> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763
>>>> 9629
>>>> *
>>>> <http://www.nuwanbando.com/>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *S. Suhothayan
>>> *
>>> Software Engineer,
>>> Data Technologies Team,
>>>  *WSO2, Inc. **http://wso2.com
>>>  <http://wso2.com/>*
>>> *lean.enterprise.middleware.*
>>>
>>> *email: **[email protected]* <[email protected]>* cell: (+94) 779 756 757
>>> blog: **http://suhothayan.blogspot.com/*<http://suhothayan.blogspot.com/>
>>> *
>>> twitter: **http://twitter.com/suhothayan*<http://twitter.com/suhothayan>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/suhothayan*
>>> *
>>> *
>>>
>>>
>>
>>
>> --
>> *Thanks & Regards,
>>
>> Nuwan Bandara
>> Associate Technical Lead & Member, MC, Development Technologies
>> WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
>> blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763
>> 9629
>> *
>> <http://www.nuwanbando.com/>
>>
>
>
>
> --
> *S. Suhothayan
> *
> Software Engineer,
> Data Technologies Team,
>  *WSO2, Inc. **http://wso2.com
>  <http://wso2.com/>*
> *lean.enterprise.middleware.*
>
> *email: **[email protected]* <[email protected]>* cell: (+94) 779 756 757
> blog: **http://suhothayan.blogspot.com/* <http://suhothayan.blogspot.com/>
> *
> twitter: **http://twitter.com/suhothayan* <http://twitter.com/suhothayan>*
> linked-in: **http://lk.linkedin.com/in/suhothayan*
> *
> *
>
>


-- 
*Thanks & Regards,

Nuwan Bandara
Associate Technical Lead & Member, MC, Development Technologies
WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
blog : http://nuwanbando.com; email: [email protected]; phone: +94 11 763 9629
*
<http://www.nuwanbando.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to