MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / from_json

Function from_json

examples/server/json.hpp:4593–4600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4591
4592template<typename BasicJsonType>
4593inline void from_json(const BasicJsonType& j, typename std::nullptr_t& n)
4594{
4595 if (JSON_HEDLEY_UNLIKELY(!j.is_null()))
4596 {
4597 JSON_THROW(type_error::create(302, concat("type must be null, but is ", j.type_name()), &j));
4598 }
4599 n = nullptr;
4600}
4601
4602// overloads for basic_json template parameters
4603template < typename BasicJsonType, typename ArithmeticType,

Callers 5

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

Calls 14

createFunction · 0.85
get_arithmetic_valueFunction · 0.85
transformFunction · 0.85
from_json_array_implFunction · 0.85
from_json_tuple_implFunction · 0.85
concatFunction · 0.70
beginFunction · 0.70
type_nameMethod · 0.45
clearMethod · 0.45
resizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected