@brief return a string representation of the JSON pointer @sa https://json.nlohmann.me/api/json_pointer/to_string/
| 13747 | /// @brief return a string representation of the JSON pointer |
| 13748 | /// @sa https://json.nlohmann.me/api/json_pointer/to_string/ |
| 13749 | string_t to_string() const |
| 13750 | { |
| 13751 | return std::accumulate(reference_tokens.begin(), reference_tokens.end(), |
| 13752 | string_t{}, |
| 13753 | [](const string_t& a, const string_t& b) |
| 13754 | { |
| 13755 | return detail::concat(a, '/', detail::escape(b)); |
| 13756 | }); |
| 13757 | } |
| 13758 | |
| 13759 | /// @brief return a string representation of the JSON pointer |
| 13760 | /// @sa https://json.nlohmann.me/api/json_pointer/operator_string/ |
no test coverage detected