阅读背景:

在.net中显示json中的字符串作为颜色

来源:互联网 

I am using a MVC template and I get json from my backend by url and deserialize it with Json.net. The backend is from a different school project and they ask if I could show it on a .net website so I'm doing that but I saved the colors as strings so if I show it it's just #FFFFF, and I want it to show either the name of the color or the color itself (or a dot with the color). I get the json from my controller:I am using a MVC template and I get json from m




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: