-
Superjson is totally broken in Safari 13. Currently affecting my client's app :grimacing:
````
ReferenceError: Can't find variable: BigInt
```
I guess we need to first check if this (and any o…
-
Superjson currently throws an error if you try to `deserialize({json: undefined})`.
I think it should be a bit more permissive, and if input is undefined, return undefined.
Check out this ugly c…
-
Hey, I've been exploring JSON serialization libraries to use with [XState](https://github.com/davidkpiano/xstate) that supports serializing an entire machine definition.
One of the missing parts is…
-
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:
```
> x = sj.serialize({q: [9, {henlo…
-
Apparently, our code behaves differently in production code than in our tests.
Some snippets that don't work as intended:
```ts
SuperJSON.parse(
SuperJSON.stringify({
a: new Map([…
-
Currently, SuperJSON is unable to serialise `Map { /a/g => foo }` or any other key type that's compared by reference. This is because there can be serialisability conflicts:
```ts
m = new Map()
m…
-
We could try serializing classes similar to [typestack/class-transformer](https://github.com/typestack/class-transformer).
-
I'd like to express some virtual properties that perform asynchronous work, such as inspecting other Mongoose models. It would be nice if the virtual getters and setters accepted an optional done func…
-
SuperBMD supports more than these four formats. You should have it either allow all the formats listed [here](https://github.com/assimp/assimp/wiki/The-asset-knowledge-base) or remove the restriction …
-
Hi,
I tried to implement JSONEncodable on a class A, with 1 property. It was fine.
But, B inherits from A, and add 2 properties. I'd like to append those properties to super.toJSON() but I couldn't.
…