How to create JSON string in C#

后端 未结 14 1163
闹比i
闹比i 2020-11-22 12:39

I just used the XmlWriter to create some XML to send back in an HTTP response. How would you create a JSON string. I assume you would just use a stringbuilder to build the

14条回答
  •  故里飘歌
    2020-11-22 13:26

    This library is very good for JSON from C#

    http://james.newtonking.com/pages/json-net.aspx

提交回复
热议问题