diff --git a/README.md b/README.md index 5f434e7c..f65ee805 100644 --- a/README.md +++ b/README.md @@ -494,6 +494,7 @@ I deeply appreciate the help of the following people. - [Damien](https://github.com/dtoma) fixed one of the last conversion warnings. - [Thomas Braun](https://github.com/t-b) fixed a warning in a test case. - [Théo DELRIEU](https://github.com/theodelrieu) patiently and constructively oversaw the long way toward [iterator-range parsing](https://github.com/nlohmann/json/issues/290). +- [Stefan](https://github.com/5tefan) fixed a minor issue in the documentation. Thanks a lot for helping out! diff --git a/src/json.hpp b/src/json.hpp index 8469a499..04c8573f 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -10570,7 +10570,7 @@ inline nlohmann::json operator "" _json(const char* s, std::size_t) @brief user-defined string literal for JSON pointer This operator implements a user-defined string literal for JSON Pointers. It -can be used by adding `"_json"` to a string literal and returns a JSON pointer +can be used by adding `"_json_pointer"` to a string literal and returns a JSON pointer object if no parse error occurred. @param[in] s a string representation of a JSON Pointer