Skip to content

BigInt serialisation #33

@shashikantj

Description

@shashikantj

Fails to stringify if object has a bigInt

var jsonStringifySafe require('json-stringify-safe');
var v = {t: BigInt(0)}
jsonStringifySafe(v);

>>> Do not know how to serialize a BigInt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions