yanpaulo / RestHttpClient

Simple and flexible REST client built on top of Microsoft's System.Net.HttpClient.
10 stars 1 forks source link

Lower netstandard and Json.NET versions. #2

Open yanpaulo opened 5 years ago

yanpaulo commented 5 years ago

Any suggestion on versions? I'd like to go down to netstandard 1.4 so that older UWP platforms can also be supported. Would that be a problem? What is the newest version of Json.NET that supports netstandard 1.4?

AKTheKnight commented 5 years ago

From here the Json.NET nuget page it seems like even the latest version would support netstandard 1.0 if you wanted: https://www.nuget.org/packages/Newtonsoft.Json/

image

yanpaulo commented 5 years ago

Well in fact I can use Json.NET even at netstandard 1.0, but I've just found out that there's no reason to. Lower netstandard libs and platforms can still consume libs targeted to 2.0 and there are benefits on package management. This is described in James' blog and by the way, I will lower Json.NET's version to 11.0, which is the first one that also targets netstandard 2.0.