views:

1112

answers:

2

i have a JSON object passed to the jsp page. it is passed as a string. now i have to parse this string and retrieve the values that are passed through the JSON object. so that i can print the values in the same jsp.

+1  A: 

There's lots of resources, including libraries & plugins for various technologies/frameworks on json.org.

Alconja
A: 

With tons of JSON parsers, it comes down to how you want to deal with data in JSON. My personal favorite from the lot is Jackson, but many others work well for simple cases too, including the "reference implementation" (aka JSON.org parser).

(I assume you want a Java parser, given reference to jsp)

StaxMan