mousetail / Byte-Heist

Yet Another Golfing Site
https://byte-heist.com
GNU General Public License v3.0
7 stars 5 forks source link

Too long output will lead to malformed JSON #22

Closed mousetail closed 5 days ago

mousetail commented 4 weeks ago

We limit the output length over the entire JSON document. This can result in invalid JSON. Instead, we should try to cut off at the boundary of a JSON document, and also limit the output per run in addition to an overall limit.