Closed benatkin closed 4 years ago
Thanks for reporting!
If you're talking about the Symbol: You'll need to register it using SuperJSON.registerSymbol
before calling serialize
. We'll definitely need to document that :D
If not, could you elaborate on what's the bug in this example?
Oh no, you're talking about yee2
, right? I can reproduce the bug locally. Will look into it.
I think I found a serialization/deserialization bug, for which there isn't an open issue. I ran this against the latest version of superjson about a week ago: