MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / from_json

Function from_json

3rd/nlohmann_json/single_include/nlohmann/json.hpp:3962–3969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3960{
3961template<typename BasicJsonType>
3962void from_json(const BasicJsonType& j, typename std::nullptr_t& n)
3963{
3964 if (JSON_HEDLEY_UNLIKELY(!j.is_null()))
3965 {
3966 JSON_THROW(type_error::create(302, "type must be null, but is " + std::string(j.type_name()), j));
3967 }
3968 n = nullptr;
3969}
3970
3971// overloads for basic_json template parameters
3972template < typename BasicJsonType, typename ArithmeticType,

Callers 5

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

Calls 13

stringFunction · 0.85
createFunction · 0.70
get_arithmetic_valueFunction · 0.70
beginFunction · 0.70
from_json_array_implFunction · 0.70
from_json_tuple_implFunction · 0.70
clearMethod · 0.45
resizeMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected