Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Remove hard Json.Net version dependency #2

Open
mrchief opened this issue May 23, 2013 · 3 comments
Open

Remove hard Json.Net version dependency #2

mrchief opened this issue May 23, 2013 · 3 comments

Comments

@mrchief
Copy link

mrchief commented May 23, 2013

Json.Net is at 5.0 now but Spring.Rest (Json.NET support) has a hardcore dependency on v4.5.10.

You can either embed (ilmerge) Json.Net or remove the specific version dependency so that people are not forced to downgrade Json.Net.

@bbaia
Copy link
Contributor

bbaia commented May 23, 2013

Spring REST never had hard dependency on JSON.NET as you can see in the NuGet page:
http://nuget.org/packages/Spring.Rest/

JSON.NET is supported by using a custom converter that you can get with separated package named Spring.Http.Converters.NJson :
http://nuget.org/packages/Spring.Http.Converters.NJson/
http://www.springframework.net/rest/refdoc/http-messageconversion.html#http-njsonconverter

Maybe we should rename the NuGet package "Spring.Rest (Json.NET support)" with "Json.NET support for Spring.Rest" to avoid confusion.

@mrchief
Copy link
Author

mrchief commented May 29, 2013

I didn't say just Spring.Rest now, did I? The name is a odd one but the issue still remains: http://nuget.org/packages/Spring.Http.Converters.NJson/ has a hard dependency on a specific version of JSON.Net.

@ghost
Copy link

ghost commented Feb 26, 2015

Reference for Json.Net is still hard.
Why reliase 1.1.2 not in nuget.org?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants