Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • 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: 65278
IntelliJ IDE Java jQuery Mac Mac OS X
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic