I know it's possible to use a library like VBAJSON to convert an array or a dictionary to json, but not a custom class instance in office 2013.
Searching turns up no libraries for handling objects to json, so I figure there must be some other way.
So, I'm wondering:
is it possible for an object to be recursively converted to a dictionary so the to-json conversion can then happen, without having to write a lengthy custom "ToDictionary" method for each class?
is there another way (other than not using objects) that json output can be reached from custom class objects?
At the moment, I've written ToDictionary methods for each class to output the instance as a dictionary. It's messy, but gets the job done.
CObjector such that is essentially a dictionary which is fed to the json conversion function