ejson icon indicating copy to clipboard operation
ejson copied to clipboard

Serializing types without monkeypatching

Open ikonst opened this issue 1 year ago • 0 comments

The current addType API, when applied to 3rd party classes, requires monkeypatching the 3rd party classes. It would be nice to devise an API for registering a full set of CustomType callbacks that would apply on a type. The library could still monkeypatch as a matter of implementation, but perhaps using Symbols so it cannot conflict with existing symbols.

ikonst avatar Feb 26 '24 17:02 ikonst