How can I use a keyword as a property name?

后端 未结 1 584
醉梦人生
醉梦人生 2021-01-13 10:34

I have been serializing anonymous types into json quite successfully until now..

        dynamic jsObject;

        jsObject = new ExpandoObject();
        j         


        
相关标签:
1条回答
  • 2021-01-13 10:46

    You would use the "verbatim" operator @: jsObject.@checked = false;

    0 讨论(0)
提交回复
热议问题