MCPcopy Create free account
hub / github.com/chigraph/chigraph / json_pointer

Method json_pointer

libchigraph/include/chi/json.hpp:10004–10004  ·  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 std::domain_error if reference token is nonempty and does n

Source from the content-addressed store, hash-verified

10002 @since version 2.0.0
10003 */
10004 explicit json_pointer(const std::string& s = "") : reference_tokens(split(s)) {}
10005
10006 /*!
10007 @brief return a string representation of the JSON pointer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected