diff --git a/lib/json/reflector.h b/lib/json/reflector.h index bb201be..7d7cb63 100644 --- a/lib/json/reflector.h +++ b/lib/json/reflector.h @@ -177,7 +177,7 @@ inline void push(Type reflectable, RAPIDJSON_NAMESPACE::Value &value, RAPIDJSON_ } /*! - * \brief Pushes the specified C-string to the specified value. + * \brief Pushes the specified std::string_view to the specified value. */ template > * = nullptr> inline void push(Type reflectable, RAPIDJSON_NAMESPACE::Value &value, RAPIDJSON_NAMESPACE::Document::AllocatorType &allocator) @@ -1018,7 +1018,7 @@ RAPIDJSON_NAMESPACE::Document toJsonDocument(const char *reflectable) } /*! - * \brief Serializes the specified \a reflectable which is a C-string. + * \brief Serializes the specified \a reflectable which is an std::string_view. */ template > * = nullptr> RAPIDJSON_NAMESPACE::Document toJsonDocument(std::string_view reflectable)