MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / json_pointer

Method json_pointer

Source/Utils/json.hpp:11580–11582  ·  view source on GitHub ↗

! @brief create JSON pointer Create a JSON pointer according to the syntax described in [Section 3 of RFC6901](https://tools.ietf.org/html/rfc6901#section-3). @param[in] s string representing the JSON pointer; if omitted, the empty string is assumed which references the whole JSON value @throw parse_error.107 if the given JSON point

Source from the content-addressed store, hash-verified

11578 @since version 2.0.0
11579 */
11580 explicit json_pointer(const std::string& s = "")
11581 : reference_tokens(split(s))
11582 {}
11583
11584 /*!
11585 @brief return a string representation of the JSON pointer

Callers

nothing calls this directly

Calls 1

splitFunction · 0.85

Tested by

no test coverage detected