@@ -24,11 +24,19 @@ Check out the tests for how to encode/decode increasingly complex types.
25## Differences to `simple-json`
25## Differences to `simple-json`
27There is an inbuilt codec for `Tuple`s thanks to @ursi
28There is an inbuilt codec for `Tuple`s thanks to @ursi
29It includes @justinwoo's codecs for en- and decoding generics inspired by
31It includes @justinwoo's codecs for en- and decoding generics inspired by
30[simple-json-generics](https://github.com/justinwoo/purescript-simple-json-generics)
32[simple-json-generics](https://github.com/justinwoo/purescript-simple-json-generics)
35+It can *read* bigints (if you install `big-integer` as a JS dependency).
37+### 💣 Cannot write bigints as bigints but only strings
38+It seems that there is no way to write bigints in JavaScript except for writing your own `JSON.stringify`.
32### 💣 The Variant Codec is different
40### 💣 The Variant Codec is different
33If you want to emulate `simple-json`'s format you may use the newtype `TaggedVariant`
41If you want to emulate `simple-json`'s format you may use the newtype `TaggedVariant`