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

need JSON parser in jsp

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

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:import>
<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.

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