A good / recommended JSON serializer for .NET

One of the great advances in software engineering over the last while is the rise of Json over the more ungainly and awkward XML. It is even making inroads in the more conservative .NET world.

In terms of working with Json in .NET, in my opinion, you can’t really do much better than NewtonSoft’s Json.NET lib, it’s great stuff and makes working with Json .NET very easy (as it should be).

Whatever you do don’t be tempted to use Microsoft’s default Json support as its very awkward and removes much of the advantage of using Json in the first place.

So many thanks to James Newton-King for a great library!

You can add this library to your Visual Studio project via the package manager console bu issuing the following command:

Install-Package Newtonsoft.Json

Happy Json-ing!!

1 reply
  1. Jeremy
    Jeremy says:

    Newtonsoft is indeed a great library to use. Another good tool which can be handy when working with JSON is https://json-csv.com – it is an online JSON to CSV converter which enables you to easily view JSON data in a spreadsheet.

Comments are closed.