C # uses Newtonsoft's json.net for serializing and deserializing objects

Source: Internet
Author: User
Tags serialization
Json.NET is a popular. NET high-performance JSON framework that enables the serialization and deserialization of objects using Newtonsoft's json.net.

In C #, you can quickly generate JSON and interpret JSON by using Json.NET, which allows you to omit some of the properties in the object while serializing, simplifying the size of the JSON. You can also use LINQ for querying and editing JSON.

C # JSON use Json.NET (1)

Json.NET is a popular. NET high-performance JSON framework that uses Newtonsoft's json.net for serialization and deserialization in C #.

C # JSON use Json.NET (2)

Describes the various parameter settings and property settings for C # json.net, which are described in detail through official documentation. Includes: Serialization Attributes, serialization callbacks, serialization Error handling, preserving Object References 、...

C # JSON use Json.NET (3)

The JSON data is serialized using Json.NET in C #. This article describes the various settings properties of Json.NET, including JSON serializing dates in JSON, reducing the JSON size for serialization, deserializing part of JSON fragments, serializing conditional attributes, serializing using Contractresolver, and debugging with serialization traces.

C # JSON using Json.NET (4)--linq to JSON

LINQ to JSON is an API for working with JSON objects. It is designed with LINQ in mind to quickly query and create JSON objects. LINQ to Json is located under the Newtonsoft.Json.Linq namespace.

C # JSON use Json.NET (5)--Special article

Describes the JSON. NET performance optimization issues (interpreting JSON through an input stream), using JSON schema validation json, manual read-write json,json.net provides transformations between Jsonreader and Jsonwriter classes, JSON, and XML.

C # JSON use Json.NET (6)--Using the example

Json.NET uses the sample program code.

Related articles:

C # Tutorial C # data type

Viewing the characteristics of c,c++,c#,java,php by static local variables

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.