开发者论坛

 找回密码
 注册 (请使用非IE浏览器)
查看: 4056|回复: 0

[源码] .net JSON类库——Newtonsoft.Json (Json.NET)

[复制链接]

0

精华

19

贡献

22

赞扬

帖子
72
软币
527
在线时间
46 小时
注册时间
2014-8-14
发表于 2015-1-5 14:39:07 | 显示全部楼层 |阅读模式
网址:https://github.com/JamesNK/Newtonsoft.Json

Json.NET
Feature Comparison Json.NETDataContractJsonSerializerJavaScriptSerializer
Supports JSON
Supports BSON

Supports JSON Schema

Supports .NET 2.0

Supports .NET 3.5

Supports .NET 4.0
Supports .NET 4.5
Supports Silverlight
Supports Windows Phone
Supports Windows 8
Supports Portable Class Library
Open Source
MIT License
LINQ to JSON
Thread Safe
XPath-like JSON query syntax
Indented JSON support

Efficient dictionary serialization
Nonsensical dictionary serialization
Deserializes IList, IEnumerable, ICollection, IDictionary properties

Serializes circular references

Supports serializing objects by reference

Deserializes polymorphic properties and collections

Serializes and deserializes multidimensional arrays

Supports including type names with JSON
Globally customize serialization process
Supports excluding null values when serializing

Supports SerializationBinder

Conditional property serialization

Includes line number information in errors

Converts XML to JSON and JSON to XML

JSON Schema validation

JSON Schema generation from .NET types

Camel case JSON property names

Non-default constructors support

Serialization error handling

Supports populating an existing object

Efficiently serializes byte arrays as base64 text

Handles NaN, Infinity, -Infinity and undefined

Handles JavaScript constructors
Serializes .NET 4.0 dynamic objects

Serializes ISerializable objects

Supports serializing enums to their text name
JSON recursion limit support


Attribute property name customization
Attribute property order customization
Attribute property required customization
Supports ISO8601 dates
Supports JavaScript constructor dates
Supports Microsoft AJAX dates
Unquoted property names support
Raw JSON support
Supports reading and writing comments
Supports BigInteger
Serializes anonymous types
Deserializes anonymous types
Deserializes read only collections
Opt-in mode serialization
Opt-out mode serialization
Field (Serializable) mode serialization

Efficiently stream reading and writing JSON
Single or double quote JSON content
Supports overriding a type's serialization
Supports OnDeserialized, OnSerializing, OnSerialized and OnDeserializing attributes
Supports serializing private properties
DataMember attribute support
MetdataType attribute support
DefaultValue attribute support
Serializes DataSets and DataTables
Serailizes Entity Framework
Serializes nHibernate
Case-insensitive property deserialization
Tracing

Newtonsoft.Json-master.zip

4.51 MB, 下载次数: 255

评分

参与人数 4赞扬 +4 收起 理由
jamesis007 + 1 赞一个
燕子湖畔 + 1
L017017017 + 1 赞一个
DavidLee + 1 感谢分享

查看全部评分

回复

使用道具 举报

Archiver|手机版|小黑屋|开发者网 ( 苏ICP备08004430号-2 )
版权所有:南京韵文教育信息咨询有限公司

GMT+8, 2024-5-3 14:22

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表