JavaScriptSerializer namespace issue

前端 未结 5 617
清酒与你
清酒与你 2021-01-17 10:46

I am having a problem trying to implement the JavaScriptSerializer to parse a JSON string received from a server.

I implemented the following code:

5条回答
  •  [愿得一人]
    2021-01-17 11:25

    JavaScriptSerializer is situated in System.Web.Extensions Assembly. You should add it to your project references.

    You can get this information in MSDN

    Assembly: System.Web.Extensions (in System.Web.Extensions.dll)

提交回复
热议问题