Home  >  Article  >  Web Front-end  >  JQUERY JSON deserialization class using solution to the problem

JQUERY JSON deserialization class using solution to the problem

高洛峰
高洛峰Original
2017-01-18 09:21:061066browse

Recently I worked on a method of passing JSON to the server for deserialization, and found many problems. I hereby record the solution and share it with you

Manually download and quote Newtonsoft.Json.dll

Manually add a reference to the namespace as follows (introduced as a DLL):

In addition to adding a reference
System.Runtime.Serialization;

System.Runtime.Serialization.Formatters;

Also add
System.ServiceModel

System.ServiceModel.Web

For more solutions to the JQUERY JSON deserialization class using problem, please pay attention to PHP Chinese for related articles net!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn