精易论坛

标题: json文本处理 [打印本页]

作者: q1472    时间: 2025-3-17 09:56
标题: json文本处理
{"itemList":[{"channelPrice":300,"exchangeCount":0,"minusPrice":0,"payPrice":4300,"salePrice":3500,"seat":"15442352","servicePrice":500,"settlePrice":3500,"ticketCode":"1200001196","ticketName":"至尊权益卡"}],"totalChannelPrice":300,"totalExchangeCount":0,"totalPayPrice":4300}

{\"itemList\":[{\"channelPrice\":300,\"exchangeCount\":0,\"minusPrice\":0,\"payPrice\":4300,\"salePrice\":3500,\"seat\":\"15442352\",\"servicePrice\":500,\"settlePrice\":3500,\"ticketCode\":\"1200001196\",\"ticketName\":\"至尊权益卡\"}],\"totalChannelPrice\":300,\"totalExchangeCount\":0,\"totalPayPrice\":4300}


怎么能把上面的json文本处理成下面的呀


作者: Ruang    时间: 2025-3-17 09:56
文本 = 文本_替换 (文本, , , , #引号, “\” + #引号, , , , , , , , )

补充内容 (2025-3-17 10:08):
-精易模块
作者: aipca    时间: 2025-3-17 10:03
文本=子文本替换 (文本, #引号, “\” + #引号, , , 真)




欢迎光临 精易论坛 (https://125.confly.eu.org/) Powered by Discuz! X3.4