阅读背景:

Json.NET:将嵌套数组反序列化为强类型对象

来源:互联网 

I'm writing client application, which should process server responses. Responses are in JSON. I decided to use Json.NET to deserialize them. And I couldn't simplify or modify those responses (on server side). Particular difficulties of this specific JSON response is that different object types is in same array: hash and array of files. So, I would like to deserialize this array straight ahead into strongly typed object, rather than array of objects. I think that it should be possible to achieve with I'm writing client application, which should pr




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

分享到: