wrap array and map in their own collections, so that set works on
transformed values
First stage of refactor to modularise the transfer between cas writer
and json/object readers (and vice versa). Goal in part is to make it
east to remote stuff
Largely working refactor to use source and destination visitors. A
couple of unit tests still fail.
Passed another unit test, by making a copy of maps before edit/copy
Continued refactoring, so that the existing read/write now use the
visitor, and thus is more modular
Move JsonElementAdapter to use new visitor
Refactored some names and removed some unecessary variables
Refactored visitor stuff to converter package
updated unit tests after refactoring, and added a new (simple) test to
show why other tests fail (convert from JsonPrimitive to object and back
isn't equal because number no longer wrapped)
Handle null properly and introduce ViistorException
Sorted error handling on functions to converter
Hack (but only from performance point of view) to get unit tests to pass