I don't know why, but when I first started to learn how to program I thought Serialization and Deserialization sounded like complex things to understand and consequently that I put off looking into it for as long as possible... maybe it was the long words?

JSON.NET is a library that will help convert your objects into JSON.  JSON.NET also makes serialization and deserialization super simple.  If you want to store a list of objects in a database, or, CSV file, converting objects into a string takes a few lines of code with JSON.NET. 


Importing Data Using Json.Net

A very frequent requirement that crops up a lot is the ability to import Json in some shape or form. For my work, importing Json is usually required during the content migration phase but there are far too many possibles. Json and .Net Importing Js[...]

How To Serialise And Deserialise Your C# Objects With Json.NET

If you're new to .NET then one of your go to Nuget packages that you'll very likely use on most projects is JSON.NET. As the name implies, Json.net allows you do do all things JSON related.  However, as part of its many features, JSON.NET also provid[...]

How To Cast Interfaces With JSON.NET

If you've read my previous article about JSON.NET then you'll know how easy it is to serialize your C# objects into JSON so you can store them in a database, CSV file or text file.  One thing my last article didn't cover, which confuses several peopl[...]

Homepage C Sharp Bootcamp Developer Tool Tutorials JSON.Net
Back to top