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" ...