MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / from_json

Function from_json

dependencies/json/json.hpp:3493–3500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3491{
3492template<typename BasicJsonType>
3493void from_json(const BasicJsonType& j, typename std::nullptr_t& n)
3494{
3495 if (JSON_HEDLEY_UNLIKELY(!j.is_null()))
3496 {
3497 JSON_THROW(type_error::create(302, "type must be null, but is " + std::string(j.type_name())));
3498 }
3499 n = nullptr;
3500}
3501
3502// overloads for basic_json template parameters
3503template < typename BasicJsonType, typename ArithmeticType,

Callers 5

json.hppFile · 0.70
operator()Method · 0.70
from_jsonMethod · 0.70
getFunction · 0.70
get_toFunction · 0.70

Calls 9

createFunction · 0.70
get_arithmetic_valueFunction · 0.70
beginFunction · 0.70
from_json_array_implFunction · 0.70
from_json_tuple_implFunction · 0.70
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
emplaceMethod · 0.45

Tested by

no test coverage detected