json转换xml

context.setVariable('response.header.Content-Type', 'application/xml; charset=utf-8');
context.setVariable('response.content',JSON.stringify(response));

posted @ 2019-11-04 11:39  HooliJia  阅读(225)  评论(0编辑  收藏  举报