feat: objects with toJSON uses that for its identity
Objects with a `toJSON` method (URL, Temporal, custom types) now serialize as whatever it returns. +42B, perf-neutral on realistic shapes.
Parent5e8d86a
3 files changed+40-3
StackedSplit
Objects with a `toJSON` method (URL, Temporal, custom types) now serialize as whatever it returns. +42B, perf-neutral on realistic shapes.