json
json copied to clipboard
Shorten reference to input data in error message
The "unexpected token" error message includes the full bulk of the input data no matter how large. Suggest to snip input data at a reasonable cutoff point, eg. 1024 bytes, to prevent swamping terminals, logs, cron emails, etc.