aspose file tools*
The moose likes Web Services and the fly likes JSON Artifacts for Web Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "JSON Artifacts for Web Service" Watch "JSON Artifacts for Web Service" New topic
Author

JSON Artifacts for Web Service

Kevin Fedric
Greenhorn

Joined: Jan 29, 2012
Posts: 4
I am invoking a public web service which gives me complex JSON object as response. One straight forward way to to get required data from response is to write a JSON parser manually.
I was wondering if there is any way I can generate artifacts that describes the response JSON structure, similar to how it can be done with SOAP? so that I can easily pass JSON string to artifact classes and call getters method to get data.

This question comes from my un-familiarity with handling JSON response objects (from web service) to get required data. So I would also appreciate any pointers on standard practices to do that when the JSON structure is complex. Are there any library that do this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSON Artifacts for Web Service