Deserializing just a single node of a JSON response

后端 未结 2 793
慢半拍i
慢半拍i 2021-01-25 15:01

I have a json response like

{
  \"appStatus\":{
    \"status\":true
  },
  \"lastSyncDate\":\"06-07-2013 13.54.27\",
  \"configResponse\":{
    \"status\":{
            


        
2条回答
  •  悲&欢浪女
    2021-01-25 15:16

    i have only use this method and it worked.

     await JsonConvert.DeserializeObjectAsync(jsontoobject, new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore });
    

提交回复
热议问题