Hacker News new | ask | show | jobs
by striking 1085 days ago
You can pass an arbitrary rehydration function, which can return non-JSON-representable types
1 comments

It could look at the return type of your reviver function, or at least whether you passed one in.