For my .NET/C# project, I need to use a JSON library but I should be dependent on a specific implementation. I know that there are plenty of JSON *c#* libraries out there like Json.NET, FastJson, Simple Json (simplejson.codeplex.com), etc. Now how should I abstract away different implementations so that I will be able to switch libraries in a future time. I have no control on other libraries but I have full control on my project. Looking for your opinions.
Share
Depending on your needs you can create a single entry point to whatever library you wish to use.