 inObject = false;
            let inString = false;
            let escapeNextChar = false;
            let curlyBraceCount = 0;
            for (let i = 0; i < bl; i++) {
                const char = buffer[i];

                if (char === '\\' && inString) {
                    escapeNextChar = !escapeNextChar;
                    continue;
                }
                if (char === '"' && !escapeNextChar) {
                    inString = !inString;
                }
                es