只引用一个System.Runtime.Serialization 是不够的,

还要添加 System.ServiceModel

System.ServiceModel.Web

 

的引用,OK

 

System.Runtime.Serialization.Json 出来了,可以开始对JSON字符串转为实体了。

命名空间 不存在类型或命名空间名称 json

相关文章:

  • 2021-10-07
  • 2021-09-09
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2021-04-24
  • 2021-10-08
  • 2022-12-23
猜你喜欢
  • 2021-09-21
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-08
相关资源
相似解决方案