[K/3Cloud]将JSON字符串反序列化为C#动态对象

using Kingdee.BOS.Util; 

string errString="{/"Row/":1,/"PageId/":/"12345/"}"
dynamic err = KDObjectConverter.DeserializeObject<System.Dynamic.ExpandoObject>(errString);
int row = (int)err.Row;
string pageId=(string)err.PageId;

posted @ 2013-09-08 13:34  范永强  阅读(315)  评论(0编辑  收藏  举报