阅读背景:

如何在c#中动态创建JSON对象(来自ASP)。网络资源文件)?

来源:互联网 

I need to serialize the strings from a resource file (.resx) into a JSON object. The resource file's keys are in flux and thus I cannot just create a C# object that accepts the appropriate values. It needs to be a dynamic solution. I am able to loop through the key-value pairs for the file, but I need an easy way to serialize them to JSON.I need to serialize the strings from a resource




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

分享到: