• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create correct JsonArray in Java using JSONObject using servlet

 
Kiki cihuy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys,

Here is my situation , please help me resolve my problem.

how can I create a JSON Object like the following ?



I'm using servlet.

This my servlet code



My outPut JSON format




I have tried it many times but I've been unsuccessful. Please help me asap....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!