MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / json_pointer

Method json_pointer

lib/json/json.hpp:9485–9487  ·  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

Source from the content-addressed store, hash-verified

9483 @since version 2.0.0
9484 */
9485 explicit json_pointer(const std::string& s = "")
9486 : reference_tokens(split(s))
9487 {}
9488
9489 /*!
9490 @brief return a string representation of the JSON pointer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected