X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2FAPI%2Fclassnlohmann_1_1basic__json_1_1json__pointer.html;fp=docs%2FAPI%2Fclassnlohmann_1_1basic__json_1_1json__pointer.html;h=062bc46322cdbc9460210e1734157b1856c8de16;hb=870e1b86b0c74169b215c166dee787c7c1a20d06;hp=0000000000000000000000000000000000000000;hpb=298022ce50fa8133cc880507170c4b7120d227b5;p=o-du%2Fphy.git diff --git a/docs/API/classnlohmann_1_1basic__json_1_1json__pointer.html b/docs/API/classnlohmann_1_1basic__json_1_1json__pointer.html new file mode 100644 index 0000000..062bc46 --- /dev/null +++ b/docs/API/classnlohmann_1_1basic__json_1_1json__pointer.html @@ -0,0 +1,354 @@ + + +
+ + + + +
+ o-du/phy
+
+ Intel O-RAN/X-RAN Generated Doxygen Documentation
+ |
+
JSON Pointer. + More...
+ +#include <json.hpp>
+Public Member Functions | |
json_pointer (const std::string &s="") | |
create JSON pointer More... | |
std::string | to_string () const noexcept |
return a string representation of the JSON pointer More... | |
operator std::string () const | |
return a string representation of the JSON pointer More... | |
+Friends | |
class | basic_json |
allow basic_json to access private members More... | |
bool | operator== (json_pointer const &lhs, json_pointer const &rhs) noexcept |
bool | operator!= (json_pointer const &lhs, json_pointer const &rhs) noexcept |
JSON Pointer.
+A JSON pointer defines a string syntax for identifying a specific value within a JSON document. It can be used with functions at
and operator[]
. Furthermore, JSON pointers are the base for JSON patches.
+
|
+ +inlineexplicit | +
create JSON pointer
+Create a JSON pointer according to the syntax described in Section 3 of RFC6901.
+[in] | s | string representing the JSON pointer; if omitted, the empty string is assumed which references the whole JSON value |
std::domain_error | if reference token is nonempty and does not begin with a slash (/ ); example: "JSON pointer must be empty or
+begin with /" |
std::domain_error | if a tilde (~ ) is not followed by 0 (representing ~ ) or 1 (representing / ); example: "escape error:
+~ must be followed with 0 or 1" |
{The example shows the construction several valid JSON pointers as well as the exceptional behavior.,json_pointer}
+
+
|
+ +inline | +
return a string representation of the JSON pointer
+ptr
, it holds: {The example shows the result of to_string
., json_pointer__to_string}
Definition at line 11681 of file json.hpp.
+
+
|
+ +inlinenoexcept | +
return a string representation of the JSON pointer
+ptr
, it holds: {The example shows the result of to_string
., json_pointer__to_string}
+
|
+ +friend | +
allow basic_json to access private members
+ + + +
+
|
+ +friend | +
+
|
+ +friend | +