JsonHelper.Deserialize
Method definition
 T Deserialize<T>(string json)
Interface Function

Deserialize string, return object

Request Parameter
Parameter Type Remarks
T Generic Deserialization target type
json string Json value that needs to be deserialized
Return Data Type

T

Call Sample
 //
 string userInfo="{\"userId\":\"3a920db8695c4ca1934bb47bd871cd8\",\"email\":"DemoUser@digitalmaker.com\"}";
 string str=JsonHelper.Deserialize<User>(userInfo);
© Digital Maker Product Team all right reserved,powered by Gitbook该文件修订时间: 2022-08-16 10:55:23

results matching ""

    No results matching ""