Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

How to convert any java POJO in JSON

 
samir ware
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello Ranchers,
Can anyone please let me know how can I convert any POJO to JSON string ? Is there any restriction on POJO to get it converted to JSON ?
Thanks in advance
samir
 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello,
Look at JSON JAVA APIS.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49776
69
  • Mark post as helpful
  • send pies
  • Report post to moderator
Too difficult a question for "beginning". Moving thread.
 
    Bookmark Topic Watch Topic
  • New Topic