首先,我可以序列化异常模型:
{
"data": null,
"success": false,
"message": null,
"exception": {
"ClassName": "System.DivideByZeroException",
"Message": "Attempted to divide by zero.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at -------.cs:line 63",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2147352558,
"Source": "-----",
"WatsonBuckets": null
}
}
但是此模型不反序列化,为什么只有两个模型反序列化?