Is there a JSON binding compiler?

  • 1
  • Question
  • Updated 6 years ago
Does anybody know if there is a JSON binding compiler similar to xjc for JAXB? I've been using the Gson lib but as far as I an tell I either need to create the classes independently, or navigate type-less JsonElements.
Photo of dbates72


  • 1 Post
  • 0 Reply Likes

Posted 8 years ago

  • 1
Photo of Yaniv Bokobza

Yaniv Bokobza

  • 2 Posts
  • 0 Reply Likes
you right. either build class to represent the response, or navigate the returned json elements.
If it happens that you already built the json object classes (for serialization), and care to share them, I really like to use them :)
It takes forever to build them from scretch