当前位置:网站首页>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,用指针的方法去读值
边栏推荐
- 【电子电路】长按键拉低电平,适用在有休眠机制的MCU但是没有看门狗,一个按键多个功能场景下使用
- spark:商品热门品类TOP10统计(案例)
- 那些年我们踩过的 Flink 坑系列
- PyCharm使用教程(详细版 - 图文结合)
- UVM之sequence机制
- Installation and use of pnpm
- Ansible learning summary (11) - detailed explanation of forks and serial parameters of task parallel execution
- 自定义View实现波浪荡漾效果
- Detailed explanation of calculation commands in shell (expr, (()), $[], let, bc )
- 近期在SLAM建图和定位方面的进展
猜你喜欢
![Three types of [OC learning notes] Block](/img/40/edf59e6e68891ea7c9ab0481fe7bfc.png)
Three types of [OC learning notes] Block

C语言基础_共用体

(Note) AXIS ACASIS DT-3608 Dual-bay Hard Disk Array Box RAID Setting

【论文阅读】Distilling the Knowledge in a Neural Network

了解下C# 不安全代码

【Flink 问题】Flink 如何提交轻量jar包 依赖该如何存放 会遇到哪些问题

二分类和多分类

uvm-phase机制

如何建立私域流量?私域流量对企业有什么好处?

PyQt5(一) PyQt5安装及配置,从文件夹读取图片并显示,模拟生成素描图像
随机推荐
Bigder:41/100生产bug有哪些分类
[OC学习笔记]weak的实现原理
spark:页面单跳转换率统计(案例)
LeetCode_2358_分组的最大数量
PyCharm usage tutorial (more detailed, picture + text)
The custom table form
向量组的线性相关性
shell脚本
Biotin-C6-amine|N-biotinyl-1,6-hexanediamine|CAS: 65953-56-2
What is the function of page directive contentPage/pageEncoding in JSP page?
Jenkins--基础--5.4--系统配置--全局工具配置
PyCharm usage tutorial (detailed version - graphic and text combination)
Biotin - LC - Hydrazide | CAS: 109276-34-8 | Biotin - LC - Hydrazide
ip地址那点事(二)
Biotinyl Cystamine | CAS: 128915-82-2 | biotin cysteamine
C语言_指针
openpyxl 单元格合并
【论文阅读】Distilling the Knowledge in a Neural Network
day_05模块
OneinStack多版本PHP共存