Welcome!

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

Reply
New Contributor
dhantej_singh999
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

Please use plain text.
Developer
peter_strange
Posts: 19,595
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.

Please use plain text.