当前位置:网站首页>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,用指针的方法去读值
边栏推荐
- 小康股份更名赛力斯,如何走出一条高端产品的“丝绸之路”?
- What is the function of page directive contentPage/pageEncoding in JSP page?
- Jenkins--基础--07--Blue Ocean
- 【电子电路】长按键拉低电平,适用在有休眠机制的MCU但是没有看门狗,一个按键多个功能场景下使用
- Scala类型转换
- RestTemlate源码分析及工具类设计
- Technology Cloud Report: To realize the metaverse, NVIDIA starts from building an infrastructure platform
- In a recent build figure SLAM, and locate the progress
- day_05_pickel 和 json
- XML简介
猜你喜欢
postman使用方法
Postman download localization of installation and use
BGP solves routing black hole through MPLS
PyCharm usage tutorial (more detailed, picture + text)
UVM信息服务机制
【微信小程序2】事件绑定
编程与哲学(2)——输出是为了更好的输入
Jenkins--部署--3.1--代码提交自动触发jenkins--方式1
OneNote 教程,如何在 OneNote 中创建更多空间?
在 QT Creator 上配置 opencv 环境的一些认识和注意点
随机推荐
UVM事务级建模
High imitation [Huawei consumer business official website] and wonderful animation analysis: practice embedding JS code in low-code platform
轴流式水轮机隐私政策
What attributes and methods are available for page directives in JSP pages?
Detailed explanation of calculation commands in shell (expr, (()), $[], let, bc )
工程师如何对待开源 --- 一个老工程师的肺腑之言
EPSANet: An Efficient Pyramid Split Attention Block on Convolutional Neural Network
C Language Basics_Union
【C】关于柔性数组.简要的谈谈柔性数组
AttributeError: module ‘clr‘ has no attribute ‘AddReference‘
类和对象【下】
QT web development - Notes - 3
利用minlm比较句子之间的相似度
Docker内MySQL主从复制学习,以及遇到的一些问题
二分类和多分类
UVM信息服务机制
BGP solves routing black hole through MPLS
自定义卡包效果实现
Ansible learning summary (11) - detailed explanation of forks and serial parameters of task parallel execution
location对象,navigator对象,history对象学习