git.iko.soy/rowtype-yoga/purescript-yoga-json
on main help sign in
Update readme
09d459fsigma-andex
README.md+1−4
@@ -48,10 +48,7 @@ It includes @justinwoo's codecs for en- and decoding generics inspired by
48It is possible to customise the representation of enums, tagged sum types, and untagged sum types via options.
48It is possible to customise the representation of enums, tagged sum types, and untagged sum types via options.
49
49
50### BigInts
50### BigInts
51−It can *read* bigints (if you install `big-integer` as a JS dependency).
51+There is an inbuilt codec for `BigInt`. Writing a `BigInt` however will result in a String. This is a current limitation of JavaScript and the only way around it - it seems - is writing your own JSON.stringify method (which is out of scope of this project).
52−
53−### 💣 Cannot write bigints as bigints but only strings
54−It seems that there is no way to write bigints in JavaScript except for writing your own `JSON.stringify`.
55
52
56## Differences to `simple-json`
53## Differences to `simple-json`
57
54