Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need JSON parser in jsp

Kaylee Sebi
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I got a JSON object back from a 3rd party website by doing the following:
<c:import url="http://sfcpdebd06:19750/services/blocal" var="etf_results">
<c:set var="etf_results2" value="${fn:trim(etf_results)}"/>

I know the structure of the JSON object. How do parser the JSON object and turn it into a java object so I can display it with <display:table.../> tag?

I don't want to parser it with eval in javascript. I want to do everything in jsp.

Please advise.

Bear Bibeault
Author and ninkuma
Posts: 65519
IntelliJ IDE Java jQuery Mac Mac OS X
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!