Skip to content

Replace Newtonsoft.Json with System.Runtime.Serialization.Json #4380

Closed
@zvrba

Description

@zvrba

No library has caused me as much deployment grievances as Newtonsoft.JSON. It's a known problem, package A wants 6.x, package B wants 10.x and I want to use both A and B in my project. Usually, it's fine to include assembly redirects (unless you want to develop Powershell cmdlets, but that's another story), but this raises the question: IF 10.x is upwards-compatible with 6.x, why has the MAJOR version changed?! (Fusion fails on major version mismatch.)

The issue has been raised with the author of Newtonsoft.JSON [1, 2, 3], to no avail. Microsfot, PLEASE, revive and/or use https://docs.microsoft.com/en-us/dotnet/api/system.runtime.serialization.json?view=netframework-4.7.1 instead of a 3rd-party lib.

[1] JamesNK/Newtonsoft.Json#615
[2] JamesNK/Newtonsoft.Json#1001
[3] https://stackoverflow.com/questions/31608983/newtonsoft-json-net-version-incompatibility-dll-hell

Metadata

Metadata

Assignees

No one assigned

    Labels

    Mgmt-EngSysEngineering System (Management Plane Specific)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions