converting jira json string to java object -


how can convert jira json string java object want issue details

{   "expand": "schema,names",   "startat": 0,   "maxresults": 50,   "total": 1,   "issues": [     {       "expand": "editmeta,renderedfields,transitions,changelog,operations",       "id": "10000",       "self": "http://jira.com/rest/api/2/issue/10000",       "key": "appanlytix-1",       "fields": {},         "issuetype": {},         "votes": {},         "resolution": null,         "fixversions": [{}],         "resolutiondate": null,         "timespent": null,         "reporter": {           "avatarurls": {},           "displayname": "yyyy dev",           "active": true         },         "subtasks": [],         "status": {},         "labels": [],         "workratio": 0,         "assignee": {           "avatarurls": {},           "displayname": "",           "active": true         },         "project": {           "name": "",           "avatarurls": { }         },         "versions": [{}],         "environment": "windows",         "timeestimate": 28800,         "aggregateprogress": {},         "lastviewed": "2013-07-18t04:39:52.596+0000",         "components": [ ],         "timeoriginalestimate": 28800,         "aggregatetimespent": null     }   ] } 

most of examples refereed using java bean setting variables,is there api doing this?

if class has structure json you've showed can use use gson library bind class.


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

How to mention the localhost in android -

php - Calling a template part from a post -