Lines Matching refs:json

69     nlohmann::json& systemConfiguration)  in createDeleteObjectMethod()
83 nlohmann::json::json_pointer ptr(jsonPointerPath); in createDeleteObjectMethod()
100 static bool checkArrayElementsSameType(nlohmann::json& value) in checkArrayElementsSameType()
102 nlohmann::json::array_t* arr = value.get_ptr<nlohmann::json::array_t*>(); in checkArrayElementsSameType()
113 nlohmann::json::value_t firstType = value[0].type(); in checkArrayElementsSameType()
114 return std::ranges::all_of(value, [firstType](const nlohmann::json& el) { in checkArrayElementsSameType()
119 static nlohmann::json::value_t getDBusType( in getDBusType()
120 const nlohmann::json& value, nlohmann::json::value_t type, in getDBusType()
123 const bool array = value.type() == nlohmann::json::value_t::array; in getDBusType()
134 return nlohmann::json::value_t::number_float; in getDBusType()
139 return nlohmann::json::value_t::number_float; in getDBusType()
147 nlohmann::json& systemConfiguration, const std::string& path, in populateInterfacePropertyFromJson()
148 const std::string& key, const nlohmann::json& value, in populateInterfacePropertyFromJson()
149 nlohmann::json::value_t type, in populateInterfacePropertyFromJson()
157 case (nlohmann::json::value_t::boolean): in populateInterfacePropertyFromJson()
163 case (nlohmann::json::value_t::number_integer): in populateInterfacePropertyFromJson()
169 case (nlohmann::json::value_t::number_unsigned): in populateInterfacePropertyFromJson()
175 case (nlohmann::json::value_t::number_float): in populateInterfacePropertyFromJson()
181 case (nlohmann::json::value_t::string): in populateInterfacePropertyFromJson()
199 nlohmann::json& systemConfiguration, const std::string& jsonPointerPath, in populateInterfaceFromJson()
201 nlohmann::json& dict, sdbusplus::asio::PropertyPermission permission) in populateInterfaceFromJson()
206 if (value.type() == nlohmann::json::value_t::array) in populateInterfaceFromJson()
219 if (type == nlohmann::json::value_t::object) in populateInterfaceFromJson()
239 const nlohmann::json& newData, const std::string* type, in addObjectRuntimeValidateJson()
256 nlohmann::json schema = in addObjectRuntimeValidateJson()
257 nlohmann::json::parse(schemaFile, nullptr, false, true); in addObjectRuntimeValidateJson()
272 nlohmann::json& systemConfiguration, const std::string& jsonPointerPath, in addObject()
275 nlohmann::json::json_pointer ptr(jsonPointerPath); in addObject()
276 nlohmann::json& base = systemConfiguration[ptr]; in addObject()
285 nlohmann::json newData{}; in addObject()
288 nlohmann::json& newJson = newData[item.first]; in addObject()
300 nlohmann::json& newData, nlohmann::json& systemConfiguration, in addObjectJson()
304 nlohmann::json::json_pointer ptr(jsonPointerPath); in addObjectJson()
305 nlohmann::json& base = systemConfiguration[ptr]; in addObjectJson()
377 nlohmann::json& systemConfiguration, const std::string& board) in createAddObjectMethod()
394 EMDBusInterface::getDeviceInterfaces(const nlohmann::json& device) in getDeviceInterfaces()