Searched refs:leftBracket (Results 1 – 4 of 4) sorted by relevance
160 std::string JsonFlattenParser::ParseBrackets(const std::string& json, char leftBracket) in ParseBrackets() argument163 char rightBracket = leftBracket + 2; // 2: '[' + 2 = ']', '{' + 2 = '}' in ParseBrackets()167 if (json[curPos] == leftBracket) { in ParseBrackets()
179 std::string FlatJsonParser::ParseBrackets(const std::string& jsonStr, char leftBracket) in ParseBrackets() argument182 char rightBracket = leftBracket + 2; // 2: '[' + 2 = ']', '{' + 2 = '}' in ParseBrackets()186 if (jsonStr[index_] == leftBracket) { in ParseBrackets()
44 std::string ParseBrackets(const std::string& json, char leftBracket);
47 std::string ParseBrackets(const std::string& jsonStr, char leftBracket);