Can you convert C# dictionary to Javascript associative array using asp.net mvc Json()

前端 未结 4 639
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-30 06:18

I recently asked this question, but after some of the responses and some research, i wanted to change what i was actually asking.

i have seen a number of blog posts

4条回答
  •  庸人自扰
    2020-12-30 07:10

    You might want to look at the Json.NET library. It makes creating JSON representations of .Net objects very simple.

提交回复
热议问题