Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Contributor
Posts: 2
Registered: ‎09-06-2012
My Device: Blackberry 9930
My Carrier: ABC

Convert Java Objects to Json

Hi all

i am working on converting a java bean object to json object, is there any specific library available for the same for blackberry  , as in java and android there are libraries but that is not working for blackberry 

please help

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Convert Java Objects to Json

I presume the library you are talking about is GSon.  There is nothing similar for J2ME because reflection is not supported.  So sorry, you will have to write the conversion code yourself.