This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Given a string, returns true if the string is the beginning of a valid JSON string. | |
| //This function assumes the string can get cut off, such that "tru" is valid as it is the beginning of "true". | |
| //Same for unclosed strings, arrays, and objects. | |
| function jsonValidate(str) { | |
| let i = 0; | |
| const len = str.length; | |
| const stack = []; // Tracks context: '{' or '[' | |
| // Tracks the last successfully parsed token to enforce grammar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This glitch has returned with team names: https://i.imgur.com/vVaQvH9.png | |
| Patched on 1.48 though. | |
| All credit goes to flarn2006, he was the one who found that glitch! | |
| !!!! | |
| New album, way better organized | |
| ALL sprays, player icons, achievement icons, and other stuff! | |
| https://imgur.com/a/HJoeHy1 |