Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
http://stackoverflow.com/questions/41007379/how-to-handle-json-error-code-returned-from-jsonconvert-deserializeobjectt by Brian Rogers
Simulated JSON response from server: {"retCode":0,"retMsg":"OK","data":41272}
Deserializing into JsonResponse<int>...
RetCode: 0
RetMsg: OK
Data: 41272

Simulated JSON response from server: {"retCode":1000,"retMsg":"No admin","data":{}}
Deserializing into JsonResponse<int>...
RetCode: 1000
RetMsg: No admin
Data: 0
Cached Result
Last Run: 7:25:50 pm
Compile: 0.271s
Execute: 0.185s
Memory: 510.87kb
CPU: 0.266s