Andreas Straub
06/30/2022, 12:25 PMAlex Ruheni
JSON.stringify(
this,
(key, value) => (typeof value === 'bigint' ? value.toString() : value) // return everything else unchanged
)
In case you get stuck, you can check out the docs on working with BigIntsAndreas Straub
06/30/2022, 2:25 PM