c#中的json字符串形成 [英] json string formation in c#
本文介绍了c#中的json字符串形成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Bellow是我需要形成的json格式,我怎么能在asp.net中用两个
反斜杠符号给出这样的\ first:last \可以任何人帮我??
{withname:[\first:last\,first OR last] }
解决方案
这可以帮助你
{\Name \:\FaisalRony,\电子邮件\ :\ + EMAILADDRESS + \ }
Bellow is the json format that i need to form, how can i give like this " \first :last\ " with two
backslash symbol in asp.net can any one help me ??
{"withname":["\"first: last\"","first OR last"]}
解决方案
This may Help you
"{\"Name\":\"FaisalRony",\"Email\":\""+emailAddress+"\"}"
这篇关于c#中的json字符串形成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文