capeNextChar = false;
                if (inString) {
                    continue;
                }

                if (char === '{') {
                    if (!inObject) {
                        inObject = true;
                        objstart = i;
                    }
                    curlyBraceCount++;
                } else if (char === '}') {
                    curlyBraceCount--;
                }

                // When curlyBraceCount returns to 0, we have a complete object
