• Post Reply Bookmark Topic Watch Topic
  • New Topic

Converting Json String to Hashmap Form in Java  RSS feed

 
pragnesh pandya
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am sending Json Object as string using HttpServletRequest Object. I have problem while parsing string as hashmap. My code snippet as below :

Java Script :


Above is a javascript code which i am using and sending json object as string using httpServletRequest.


When I am using like below code it is working fine.

Java Code :


But If I am using like below

Java Code :


Same is not working. Can anybody helps in this.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!