Json Builder for Dot Net

A while ago I was working with Flot, and while I found the JSON based configuration really simple, adding in multiple series with a fair few data points soon became a nightmare to get together in my ASP.NET MVC ViewPage.

So I put together a neat little Fluent Flot library which can be used to build up the Flot JSON configuration object using C# inside your viewpage.  The core of this is the JsonBuilder.cs file, which I have included below.  It was a neat way to build up a valid JSON string without having to use a string builder directly.

Any bugs or enhancements or improvements, feel free to email me

Software developer hand crafting ruby / rails / javascript / c# apps and also collaborating with others in a freelance capacity.




twitter.com/codesoda

view archive



@codesoda

github/codesoda

Ask me anything