Skip to Content
-1
Jun 12, 2018 at 06:26 AM

How to read Json string and store information in ABAP internal table ?

1114 Views Last edit Jun 12, 2018 at 06:29 AM 2 rev

Hi Team,

I am able to get the JSON info in my abap program but i am not able to fetch the exact information i need from JSON response and store it internal table.

Request to suggest the best way. below is my JOSN.

In that below JSO i want read below fields:

key

issuetype-name

description

{ "expand": "schema,names", "startAt": 0, "maxResults": 50, "total": 5, "issues": [ { "expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields", "id": "10200", "self": "http://localhost:8080/rest/api/2/issue/10200", "key": "SOLJIRA-5", "fields": { "issuetype": { "self": "http://localhost:8080/rest/api/2/issuetype/10100", "id": "10100", "description": "A task that needs to be done.", "iconUrl": "http://localhost:8080/secure/viewavatar?size=xsmall&avatarId=10318&avatarType=issuetype", "name": "Task", "subtask": false, "avatarId": 10318 }, "duedate": null, "resolutiondate": null, "created": "2018-06-12T10:59:42.000+0900", "description": null, "assignee": null, "priority": { "self": "http://localhost:8080/rest/api/2/priority/3", "iconUrl": "http://localhost:8080/images/icons/priorities/medium.svg", "name": "Medium", "id": "3" }, "updated": "2018-06-12T10:59:42.000+0900", "status": { "self": "http://localhost:8080/rest/api/2/status/10000", "description": "", "iconUrl": "http://localhost:8080/images/icons/status_generic.gif", "name": "To Do", "id": "10000", "statusCategory": { "self": "http://localhost:8080/rest/api/2/statuscategory/2", "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } } } },