Not sure if the responsibility is on the user or the library. Not sure if it's easy but when emitting to JSON you could convert to a string if there is a leading zero number, as it is invalid in JSON.
This repository demonstrates an uncommon error in Node.js related to JSON parsing: the "Unexpected token" error. This error typically occurs when the JSON string ...
A JSON parse error happens when software cannot read a JSON file due to incorrect formatting or unexpected tokens. This guide shows how to identify the issue and ...