I'm building in tornado (cyclone, actually), and RequestHandler.write is choking on some of my objects. How do I write a JSONencoder for these objects in tornado?
One complication: some of the objects are borrowed from external libraries, so I don't really have access to their constructors.
Apologies for not posting code -- I'm just not sure how to begin here.