914915 Software

Free, useful, fun, nice and easy software. Or your mummy back.(1)(2)


LinqToJSON
a small and easy to use JSON read/write library for C#

LINQ To JSON is a .NET assembly, written in C#, that allows reading and writing data formatted according to the JSON standard with features that mimic those of LinqToXML.

Download LinqToJSON

LINQ To JSON can be downloaded at CodeProject.

Requirements

What is LinqToJSON?

LINQ To JSON is a .NET assembly, written in C#, that allows reading and writing data formatted according to the JSON standard with features that mimic those of LinqToXML. It is available for free, with its source code.

The assembly name is Ranslant.Linq.Json.

Documentation and source code

The full documentation has been posted as a CodeProject article, and you can find the source code there as well.
Read it all and do not hesitate to rate my work.

What does Ranslant.Linq.Json bring that other JSON writers/readers do not have?

  1. It does not use a serializer at all
    1. this ensures that the files written and read conforms very strictly to the standard
    2. This ensures that the files written can be read anywhere else (you often need to serialize/deserialize with the same serializer, because not all share the same conventions)
  2. It provides a set of classes that work in a way very similar to LinqToXML
    1. If you already worked with LinqToXML you can work with LinqToJSON
    2. It is very easy to read/write JSON data
  3. The data you give or you get is validated for correctness
  4. No errors codes, only thrown Exceptions
  5. The source code is provided, and made easy to read and understand
  6. The assembly is very small (14 KB)

Who makes LinqToJSON

Well, I do. My name is Guillaume Ranslant. I live in Germany. Check my blog or my LinkedIn or Xing profiles for more information.

I develop software in my free time, therefore no company is involved in any way. Therefore also, ... things take some time to be done, as my kids take a lot of my free time (and I like it so).

I used VS C# Express for the code, CodeProject for the hosting and BlueGriffon for this HTML document.


History

2011 - Guillaume Ranslant (site content and design (HTML and CSS(3)), all software)
1 pun intended - 2 I will not actually give a mummy back, I don't have any - 3 Depending on the browser you use, the CSS will render differently, FF5+ gives the most satisfying results so far