Browse Source

Util: Update JSON user-defined literal type name

master
Riyyi 2 years ago
parent
commit
0e93009e4b
  1. 4
      src/util/json/value.h

4
src/util/json/value.h

@ -143,7 +143,7 @@ void format(FormatBuilder& builder, const Value& value);
* *
* Example usage: auto json = "[ 3.14, true, null ]"_json; * Example usage: auto json = "[ 3.14, true, null ]"_json;
*/ */
inline Json::Value operator"" _json(const char* input, size_t length) inline Util::JSON::Value operator"" _json(const char* input, size_t length)
{ {
return Json::Value::parse(std::string(input, length)); return Util::JSON::Value::parse(std::string(input, length));
} }

Loading…
Cancel
Save