@brief return a string representation of the JSON pointer @sa https://json.nlohmann.me/api/json_pointer/to_string/
| 13871 | /// @brief return a string representation of the JSON pointer |
| 13872 | /// @sa https://json.nlohmann.me/api/json_pointer/to_string/ |
| 13873 | string_t to_string() const |
| 13874 | { |
| 13875 | return std::accumulate(reference_tokens.begin(), reference_tokens.end(), |
| 13876 | string_t{}, |
| 13877 | [](const string_t& a, const string_t& b) |
| 13878 | { |
| 13879 | return detail::concat(a, '/', detail::escape(b)); |
| 13880 | }); |
| 13881 | } |
| 13882 | |
| 13883 | /// @brief return a string representation of the JSON pointer |
| 13884 | /// @sa https://json.nlohmann.me/api/json_pointer/operator_string/ |
no test coverage detected