点击此处---> 群内免费提供SAP练习系统(在群公告中)
加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)
您好,
我能够在我的abap程序中获取JSON信息,但是我无法从JSON响应中获取所需的确切信息并将其存储在内部表中。
要求提出最佳方法。 下面是我的JOSN。
在JSO下面,我想阅读以下字段:
键
issuetype-name
说明
{" expand":" schema,names"," startAt":0," maxResults":50," total":5,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":"需要完成的任务 。"," 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":" 中"," id":" 3"},"更新":" 2018-06-12T10:59:42.000 + 0900","状态":{"自我":" http://localhost:8080/rest/api/2/status/10000"," description":""," icon 网址":" http://localhost:8080/images/icons/status_generic.gif","名称":"待办事项"," id":" 10000"," statusCategory":{" self":" http: //localhost:8080/rest/api/2/statuscategory/2"," id":2," key":" new"," colorName":"蓝灰色"," name":"待办事项"} }}},
关注以下Wiki博客:
https: //wiki.scn.sap.com/wiki/display/Snippets/One+more+ABAP+to+JSON+Serializer+和+ Deserializer
基本上,您必须创建一个具有相似字段的内部表并反序列化数据。
首先阅读 ABAP和JSON 。
一周热门 更多>