how to know the return type of json object using LogFile in c#

Posted by Kasani007 under C# on 4/6/2018 | Points: 10 | Views : 245 | Status : [Member] | Replies : 1
How to know the return type of json object using LogFile in c#




Responses

Posted by: Sheonarayan on: 4/8/2018 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Return type of json object is always string. The other workaround is to have a property in the object and set it before json serialization so that in the json string you know what was the type.



Regards,
Sheo Narayan
http://www.dotnetfunda.com

Kasani007, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response