Skip to content

Commit

Permalink
Throw when JSON.stringify works with decimals (#167)
Browse files Browse the repository at this point in the history
* Throw when convering a decimal to JSON

* Define a `toJSON` method for Decimal128 objects

Remove special logic in the `SerializeJSONProperty` AO.

* Remove brand checks (we unconditionally throw anyway)
  • Loading branch information
jessealama authored Sep 17, 2024
1 parent 546e92e commit d884464
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
Loading

0 comments on commit d884464

Please sign in to comment.