阅读背景:

如何在C#中将JSON对象序列化或反序列化到某个深度?

来源:互联网 

I only want the first depth level of an object (I do not want any children). I am willing to use any library available. Most libraries will merely throw an exception when the recursion depth is reached, instead of just ignoring. If this isn't possible, is there a way to ignore serialization of certain members given a certain datatype?I only want the first depth level of an object




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

分享到: