Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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
Posts: 48402
56
  • Mark post as helpful
  • send pies
  • Report post to moderator
Too difficult a question for "beginning". Moving thread.
 
    Bookmark Topic Watch Topic
  • New Topic