-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
> parseJsonStringToAeson "{\"constructor\": \"Just\"}"
(Left (TypeMismatch "JSON String"))
> parseJsonStringToAeson "{\"constructo\": \"Just\"}"
(Right {"constructo":"Just"})
it comes from our fork of json-bigint lib:
> jsonBigint.parse("{\"constructor\": \"Just\"}")
Uncaught:
{
name: 'SyntaxError',
message: 'Object contains forbidden constructor property',
at: 16,
text: '{"constructor": "Just"}'
}
We should probably initialize it with
{ constructorAction: 'preserve` }
errfrom
Metadata
Metadata
Assignees
Labels
No labels