Json.NET & C# – How to Serialize a Collection?

Json.NET & C# – How to Serialize a Collection?

Do you want to serialize an collection in your C# application?. Json.NET supports this functionality with ease.

The Collection can be an Array , Dictionary or List. You need to simply pass collection to the JsonConvert.SerializeObject static method which would serialize the collection and return you the Json string.

Read more about Json.NET & C# – How to Serialize a Collection? at abundantcode.com

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Reply


x

Interesting BlogPosts to read

Json Resume - Open Source Initiative for creating Json based Resume
Are you looking for a common standard for writing a resume which can be extended ? Here comes Json R...
Json.NET 4.5 Release 9 Released
The new version of the Json.NET (v4.5 Release 9) is out and includes some bug fixes and new feature ...
AJAX - Asynchronous Java Script and XML

Json.NET & C# – How to Serialize a Collection? Do you want to serialize an collection in your C# application?. Json.NET supports this functionality with ease. The Collection can be an Array , Dictionary or List. You need to simply pass collection to the JsonConvert.SerializeObject static method which would serialize the collection and return you the Json string. Read more about Json.NET & C# – How to Serialize a Collection? at abundantcode.com