The type or namespace name 'Json' does not exist in the namespace 'System' (are you missing an assembly reference?)

后端 未结 2 1177
日久生厌
日久生厌 2021-01-22 22:24

I am using .NET Framework 4.5 and I\'m having this issue. The type or namespace \'Json\' does not exist in the namespace \'System\'

So, I tried to Inst

2条回答
  •  庸人自扰
    2021-01-22 23:07

    using Newtonsoft.Json; Should get the job done

    now you can use :
    JsonConvert.SerializeObject JsonConvert.DeserializeObject

提交回复
热议问题