MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / to_string

Function to_string

Source/external/json.hpp:13749–13757  ·  view source on GitHub ↗

@brief return a string representation of the JSON pointer @sa https://json.nlohmann.me/api/json_pointer/to_string/

Source from the content-addressed store, hash-verified

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/

Callers 15

nameMethod · 0.70
diagnosticsMethod · 0.70
createMethod · 0.70
position_stringMethod · 0.70
int_to_stringFunction · 0.70
start_objectFunction · 0.70
start_arrayFunction · 0.70
start_objectMethod · 0.70
start_arrayMethod · 0.70
get_bson_stringMethod · 0.70
get_bson_binaryMethod · 0.70
json.hppFile · 0.70

Calls 4

concatFunction · 0.85
escapeFunction · 0.85
beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected