Skip to content

Support for BigInt numbers #39

@rangav

Description

@rangav

Why this feature is better to be included in comment-json? Please describe the scenario
I like this library, Can you please support for bigInt number

Provide 1-2 code examples that the usage of the new feature:

var test = `{
  "data":2326453345646433546456576876786786,
  // data
  "sdfsf":"45455"
  // testing coments
}`

console.log(stringify(parse(test), null, 2))

// ------ output ----------
{
  "data": 2.3264533456464336e+33,
  // data
  "sdfsf": "45455"
  // testing coments
}

Are you willing to submit a pull request to implement this rule?
Please let me know which code part needs to be modified, I can try

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions