Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where to look up newtonsoft json.net breaking changes?

Tags:

json.net

I have a bunch of code I'd like to upgrade from using JSON.net 4.0.3 to 4.5.8 or whatever is latest. Are there any known breaking changes, or a place I can look to find them? I saw this: http://json.codeplex.com/workitem/22498 which looks to be fixed in 4.5.3. I saw this as well: http://james.newtonking.com/archive/2012/03/20/json-net-4-5-release-1-iso-dates-async-metro-build.aspx, which I might need to address.

like image 821
Frank Schwieterman Avatar asked Aug 21 '12 21:08

Frank Schwieterman


People also ask

Is JSON net the same as Newtonsoft JSON?

Json.NET vs Newtonsoft. Json are the same thing. You must be trying to use the same code with different versions of Json.NET.

Is Newtonsoft JSON obsolete?

The Newtonsoft. Json. Schema namespace provides classes that are used to implement JSON schema. Obsolete.

Is JSON net deprecated?

Despite being deprecated by Microsoft in . NET Core 3.0, the wildly popular Newtonsoft. Json JSON serializer still rules the roost in the NuGet package manager system for . NET developers.


2 Answers

Releases from 6.0.4 forward have release notes on the GitHub repository for the project.

like image 101
chwarr Avatar answered Sep 19 '22 13:09

chwarr


All the releases have their changes listed on the blog you link to ( http://james.newtonking.com/ ) and on the particular article he says that the package will now only make breaking change on major version number changes (semantic versioning, hurrah!).

So by trawling the blog for each post relating to a major version change (i.e. 6.0.0) you can work out what changes you need to worry about. I have not seen a better compiled list.

like image 40
Rob Church Avatar answered Sep 19 '22 13:09

Rob Church