You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apologies for revisiting #5 (add an options object to JSON.parse and JSON.stringify)
i think this proposal's primary motivation is parsing bigint? imo options-object like { bigintIfTooBig: true } remains more ergonomic (and less error-prone):
Thank you for the feedback, but that approach is too narrow for the goals of this proposal, which aims to support fine-grained practitioner control of deserialization now (e.g., which output values are Number vs. BigInt), and also future use cases such as BigDecimal. Refer to #12 (comment) for the currently anticipated shape of serialization.
apologies for revisiting #5 (add an options object to JSON.parse and JSON.stringify)
i think this proposal's primary motivation is parsing bigint? imo options-object like
{ bigintIfTooBig: true }
remains more ergonomic (and less error-prone):roundtripping is more ergonomic as well:
The text was updated successfully, but these errors were encountered: