To support some the the features, 'startNode(String name)' in HierarchicalStreamWriter has a sister method 'startNode(String name, Class clazz)'
Description
A JSON writer (no reader as yet) for XStream.
Eliminates some redundant braces, quotes for things that do not need them (int, boolean)
It also handles arrays, lists, sets appropriately
Examples from http://www.json.org/example.html used for TestCases.
To support some the the features, 'startNode(String name)' in HierarchicalStreamWriter has a sister method 'startNode(String name, Class clazz)'