views:

2931

answers:

3

Hi,

I want to parse the response coming from the server in JSON format. I have done some googling but i can't find any library or jar kind of thing.

Everywhere there is provided open source code as zip file.

How can i achieve this? if there is no jar available for blackberry then how to use that open source code in my application??

Thanks in advance.

+5  A: 

There is an open source JSON for J2ME API on Mobile and Embedded Application Developers Project

Also you can download JSON ME (Zip file) at JSON.org not supported anymore. But you can get it from here.

I believe you can simply copy content of json project src folder to your Blackberry project src folder, refresh it in eclipse package explorer and build it.

See for details: Using JavaScript Object Notation (JSON) in Java ME for Data Interchange

Max Gontar
Yes, we use the JSON ME code from json.org and it works great. Like you said, just extract the source code into your own source code tree and it will be compiled into your app.
Marc Novakowski
"download JSON ME (Zip file) at JSON.org" link is broken
paullb
see links update
Max Gontar
A: 

your link was broken

osman
please use "add comment" instead of "Add Another Answer", :) thanks!
Max Gontar