2 #include <boost/algorithm/string.hpp>
8 using namespace std::literals::string_literals;
27 fail(
"Key must not be empty"s);
29 result.back().attributes.push_back({boost::trim_copy(key),
""});
34 }
else if (c ==
'}') {
38 }
else if (std::isgraph(c) || std::isspace(c)) {
41 fail(
"Invalid Character in Key, got so far: ["s + key +
"]"s);