• 找不到方法 Void Newtonsoft.Json.JsonConvert.set_DefaultSettings


    找不到方法 Void Newtonsoft.Json.JsonConvert.set_DefaultSettings


    因为 Newtonsoft.Json.dll 的版本号问题:

    C:Program Files (x86)Microsoft Visual Studio 12.0Blend

    下的版本号为 4.5.11

    最新版本号为 6.0.4

    下载。复制,替换。攻克了。

    版本号啦,版本号。


    •New feature - Added Merge to LINQ to JSON
    •New feature - Added JValue.CreateNull and JValue.CreateUndefined
    •New feature - Added Windows Phone 8.1 support to .NET 4.0 portable assembly
    •New feature - Added OverrideCreator to JsonObjectContract
    •New feature - Added support for overriding the creation of interfaces and abstract types
    •New feature - Added support for reading UUID BSON binary values as a Guid
    •New feature - Added MetadataPropertyHandling.Ignore
    •New feature - Improved performance of KeyValuePairConverter
    •New feature - Improved performance when serializing large XML documents
    •Change - Limited integer parsing size to JavaScript integer size
    •Change - Validation that numbers don't end with an invalid character
    •Fix - Fixed JToken.ReadFrom creating a string value for a comment
    •Fix - Fixed relying on Dictionary order when calling parameterized constructors
    •Fix - Fixed writing new lines to use TextWriter.WriteLine
    •Fix - Fixed deserializing non-generic IReadOnlyCollection<T> implementations
    •Fix - Fixed sending HTTP requests when resolving DTD urls in XmlNodeConverter
    •Fix - Fixed populating ignored properties with DefaultValueHandling.IgnoreAndPopulate
    •Fix - Fixed not throwing JsonReaderException when parsing some invalid numbers
    •Fix - Fixed JsonConvert.PopulateObject not setting JsonReader settings
    •Fix - Fixed deserializing JObjects starting with a comment
    •Fix - Fixed using DateParseHandling and FloatParseHandling with DataTable/DataSet
    •Fix - Fixed serializing static fields
    •Fix - Fixed selecting a property after an empty array with a JSON Path query
    •Fix - Fixed error handling when last value in array or object fails
    •Fix - Fixed directly serializing XmlElements
    •Fix - Fixed incorrect NuGet targets on .NET 4.5 portable assembly
    •Fix - Fixed using JTokenEqualityComparer with JProperties that have no value
    •Fix - Fixed MetadataPropertyHandling.ReadAhead bugs


  • 相关阅读:
    项目管理和项目群管理的区别
    项目群管理
    PRINCE2如何完善PMBOK和您的PMP资格证书?
    为什么需要prince2项目管理方法论?
    PMP和PRINCE2到底有什么区别?哪个含金量更高?
    同步和异步
    Promise理解
    async和await实现异步的同步等待
    Mysql数据库操作基础步骤
    PHP和javascript区别
  • 原文地址:https://www.cnblogs.com/liguangsunls/p/7244195.html
Copyright © 2020-2023  润新知