You can also create a JsonItem by newing an object of a JsonItem's subclass as following. // public JsonString(string value); // public JsonString(char value); JsonItem item1 = new JsonString("value1" ...
This is a very light-weight solution to deal with JSON files that will not be used whose schema again and again. If you need to generate a string from C# object (e.g. domain objects) to use it as JSON ...