/// for supported syntax checkers.
///
/// @param str string to be parsed
- /// @param parser_type specifies expected content (usually DHCP6 or generic JSON)
+ /// @param parser_type specifies expected content (usually AGENT or generic JSON)
/// @return Element structure representing parsed text.
isc::data::ElementPtr parseString(const std::string& str,
ParserType parser_type);
///< This one is used in pure JSON mode.
NO_KEYWORDS,
- ///< Used while parsing content of Dhcp6.
+ ///< Used while parsing content of Agent.
KEYWORDS
} LexerContext;
}
TEST(ParserTest, listsInMaps) {
- string txt = "{ \"constellations\": { \"orion\": [ \"rigel\", \"betelguese\" ], "
+ string txt = "{ \"constellations\": { \"orion\": [ \"rigel\", \"betelgeuse\" ], "
"\"cygnus\": [ \"deneb\", \"albireo\"] } }";
testParser(txt, ParserContext::PARSER_JSON);
}