top | item 37126859 (no title) aassddffasdf | 2 years ago You would still have to ensure balancing somehow. Both "]" and "}" are valid "closing brackets" and the correct one to choose is context-dependent. discuss order hn newest gyy52380|2 years ago You can determine which brackets you need in which order by parsing the incomplete json which was generated so far. dontreact|2 years ago That won't do it, also need to close other stuf{"this": "is valid json so farrrrrrrrrrrrrrBut yeah the general idea makes sense. Once you hit a timeout, change the mask to things that will close existing open things in a valid manner (}, ), ], ")
gyy52380|2 years ago You can determine which brackets you need in which order by parsing the incomplete json which was generated so far. dontreact|2 years ago That won't do it, also need to close other stuf{"this": "is valid json so farrrrrrrrrrrrrrBut yeah the general idea makes sense. Once you hit a timeout, change the mask to things that will close existing open things in a valid manner (}, ), ], ")
dontreact|2 years ago That won't do it, also need to close other stuf{"this": "is valid json so farrrrrrrrrrrrrrBut yeah the general idea makes sense. Once you hit a timeout, change the mask to things that will close existing open things in a valid manner (}, ), ], ")
gyy52380|2 years ago
dontreact|2 years ago
{"this": "is valid json so farrrrrrrrrrrrrr
But yeah the general idea makes sense. Once you hit a timeout, change the mask to things that will close existing open things in a valid manner (}, ), ], ")