Home >Web Front-end >JS Tutorial >Discuss the solution to the JQUERY JSON deserialization class using problem_jquery

Discuss the solution to the JQUERY JSON deserialization class using problem_jquery

WBOY
WBOYOriginal
2016-05-16 17:08:061172browse

I recently 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 reference Newtonsoft.Json.dll

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

In addition to adding references
System.Runtime.Serialization;

System.Runtime.Serialization.Formatters;

Also add
System.ServiceModel

System.ServiceModel.Web

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