diff --git a/src/Aeson.js b/src/Aeson.js index 70a8dd2..ede8331 100644 --- a/src/Aeson.js +++ b/src/Aeson.js @@ -1,4 +1,8 @@ -import JSONbig from "@mlabs-haskell/json-bigint"; +import JSONbigConfigurable from "@mlabs-haskell/json-bigint"; +const JSONbig = JSONbigConfigurable({ + protoAction: "error", + constructorAction: "preserve" +}); const identity = x => x; const constant = x => _ => x;