Редактиране

Споделяне чрез


Support for JSON and Other Data Transfer Formats

JSON (JavaScript Object Notation) is an efficient data encoding format that enables fast exchanges of small amounts of data between client browsers and AJAX (Asynchronous JavaScript and XML)-enabled Web services.

In This Section

Stand-Alone JSON Serialization
Describes stand-alone JSON serialization.

How to: Serialize and Deserialize JSON Data
Demonstrates how to serialize .NET type objects into JSON-encoded data and then deserialize data in the JSON format back into instances of .NET types using the DataContractJsonSerializer.

Mapping Between JSON and XML
Describes the correspondence between JavaScript Object Notation (JSON) encodings and the XML infoset, which is used internally by Windows Communication Foundation (WCF) to represent JSON-encoded data and documents.

See also