当前位置:网站首页>ABAP 和json转换的方法
ABAP 和json转换的方法
2022-08-02 08:34:00 【ki_reikun】
DATA: lv_json TYPE string. "返回参数
DATA: lv_response TYPE string.
lv_json = /ui2/cl_json=>serialize( data = es_return "ABAPj结构或内表
compress = abap_true
pretty_name = /ui2/cl_json=>pretty_mode-camel_case ).
/ui2/cl_json=>deserialize( EXPORTING json = lv_response "json串
pretty_name = /ui2/cl_json=>pretty_mode-camel_case CHANGING data = ls_data ).“ABAP结构,可以定义出具体的结构,也可以用 TYPE REF OF DATA,用指针的方法去读值
边栏推荐
- Flink 系统性学习笔记系列
- Seleniu screenshots code and assign name to the picture
- 普林斯顿微积分读本03第二章--编程实现函数图像绘制、三角学回顾
- How to use postman
- etcd implements large-scale service governance application combat
- mysqldump --set-gtid-purged=OFF
- OneinStack多版本PHP共存
- (Note) AXIS ACASIS DT-3608 Dual-bay Hard Disk Array Box RAID Setting
- R language plotly visualization: plotly visualizes the scatter plot of the actual value of the regression model and the predicted value of the regression, analyzes the prediction performance of the re
- PyCharm usage tutorial (more detailed, picture + text)
猜你喜欢

ORBSLAM代码阅读

抓包工具Charles修改Response步骤

PostgreSQL learning summary (11) - PostgreSQL commonly used high-availability cluster solutions

Qt读取文件中内容(通过判断GBK UTF-8格式进行读取显示)

编程与哲学(2)——输出是为了更好的输入

spark:商品热门品类TOP10统计(案例)

Redisson报异常attempt to unlock lock, not locked by current thread by node id解决方案

HCIP笔记第十三天

postman下载安装汉化及使用

pnpm: Introduction
随机推荐
C语言基础_共用体
Jenkins--部署--3.1--代码提交自动触发jenkins--方式1
The packet capture tool Charles modifies the Response step
USACO美国信息学奥赛竞赛12月份开赛,中国学生备赛指南
Three types of [OC learning notes] Block
shell中计算命令详解(expr、(())、 $[]、let、bc )
js函数防抖和函数节流及其使用场景
Ansible learning summary (11) - detailed explanation of forks and serial parameters of task parallel execution
在 QT Creator 上配置 opencv 环境的一些认识和注意点
[OC学习笔记]ARC与引用计数
XML简介
Scala类型转换
那些年我们踩过的 Flink 坑系列
PostgreSQL learning summary (11) - PostgreSQL commonly used high-availability cluster solutions
(Note)阿克西斯ACASIS DT-3608双盘位硬盘阵列盒RAID设置
HCIP笔记第十三天
C语言_指针
抓包工具Charles修改Response步骤
PyCharm使用教程(详细版 - 图文结合)
Redisson报异常attempt to unlock lock, not locked by current thread by node id解决方案