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

Function basic_json

Source/external/json.hpp:19983–19987  ·  view source on GitHub ↗

@brief create an empty value with a given type @sa https://json.nlohmann.me/api/basic_json/basic_json/

Source from the content-addressed store, hash-verified

19981 /// @brief create an empty value with a given type
19982 /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
19983 basic_json(const value_t v)
19984 : m_type(v), m_value(v)
19985 {
19986 assert_invariant();
19987 }
19988
19989 /// @brief create a null object
19990 /// @sa https://json.nlohmann.me/api/basic_json/basic_json/

Callers 15

basic_json binaryFunction · 0.85
basic_json arrayFunction · 0.85
basic_json objectFunction · 0.85
push_backFunction · 0.85
operator==Function · 0.85
operator<=>Function · 0.85
operator<=Function · 0.85
operator>=Function · 0.85
operator!=Function · 0.85
operator<Function · 0.85
operator>Function · 0.85
basic_json from_cborFunction · 0.85

Calls 10

to_jsonFunction · 0.85
set_parentsFunction · 0.85
createFunction · 0.85
concatFunction · 0.85
beginMethod · 0.80
endMethod · 0.80
sizeMethod · 0.80
moved_or_copiedMethod · 0.80
is_beginMethod · 0.80
is_endMethod · 0.80

Tested by

no test coverage detected