Lines Matching refs:jsonObj

23 bool IsString(const nlohmann::json &jsonObj, const std::string &key)  in IsString()  argument
25 …bool res = jsonObj.contains(key) && jsonObj[key].is_string() && jsonObj[key].size() <= MAX_MESSAGE… in IsString()
32 bool IsUInt8(const nlohmann::json &jsonObj, const std::string &key) in IsUInt8() argument
34 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_unsigned() && jsonObj[key] <= UINT8_MAX; in IsUInt8()
41 bool IsInt32(const nlohmann::json &jsonObj, const std::string &key) in IsInt32() argument
43 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_integer() && jsonObj[key] >= INT32_MIN … in IsInt32()
44 jsonObj[key] <= INT32_MAX; in IsInt32()
51 bool IsUInt32(const nlohmann::json &jsonObj, const std::string &key) in IsUInt32() argument
53 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_unsigned() && jsonObj[key] <= UINT32_MA… in IsUInt32()
60 bool IsInt64(const nlohmann::json &jsonObj, const std::string &key) in IsInt64() argument
62 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_integer() && jsonObj[key] >= INT64_MIN … in IsInt64()
63 jsonObj[key] <= INT64_MAX; in IsInt64()
70 bool IsUInt64(const nlohmann::json &jsonObj, const std::string &key) in IsUInt64() argument
72 …bool res = jsonObj.contains(key) && jsonObj[key].is_number_unsigned() && jsonObj[key] <= UINT64_MA… in IsUInt64()
79 bool IsFloat(const nlohmann::json &jsonObj, const std::string &key) in IsFloat() argument
81 bool res = jsonObj.contains(key) && jsonObj[key].is_number_float(); in IsFloat()
88 bool IsArray(const nlohmann::json &jsonObj, const std::string &key) in IsArray() argument
90 bool res = jsonObj.contains(key) && jsonObj[key].is_array(); in IsArray()
97 bool IsBool(const nlohmann::json &jsonObj, const std::string &key) in IsBool() argument
99 bool res = jsonObj.contains(key) && jsonObj[key].is_boolean(); in IsBool()