I know how to convert instances to/from JSON using event sheets - using the expression Object.AsJSON and the action Set from JSON string.
Is there a way to do the same things from JavaScript? It would be nice to be able to make code that can save/load arbitrary objects of any type without them needing to share a family.