From b6550b35c300c91a819469d558c7900b1f8190bc Mon Sep 17 00:00:00 2001 From: Niels Date: Tue, 4 Oct 2016 18:20:36 +0200 Subject: [PATCH] fix after #313 --- README.md | 1 + src/json.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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