Lines Matching refs:element
63 inline const nlohmann::json& getRequiredProperty(const nlohmann::json& element, in getRequiredProperty() argument
66 auto it = element.find(property); in getRequiredProperty()
67 if (it == element.end()) in getRequiredProperty()
87 const nlohmann::json& element,
102 const nlohmann::json& element,
117 const nlohmann::json& element,
132 const nlohmann::json& element,
151 const nlohmann::json& element,
167 const nlohmann::json& element,
182 const nlohmann::json& element,
197 const nlohmann::json& element,
213 const nlohmann::json& element, bool isEmptyValid = false,
228 const nlohmann::json& element,
243 const nlohmann::json& element,
258 const nlohmann::json& element,
268 inline void verifyIsArray(const nlohmann::json& element) in verifyIsArray() argument
270 if (!element.is_array()) in verifyIsArray()
283 inline void verifyIsObject(const nlohmann::json& element) in verifyIsObject() argument
285 if (!element.is_object()) in verifyIsObject()
302 inline void verifyPropertyCount(const nlohmann::json& element, in verifyPropertyCount() argument
305 if (element.size() != expectedCount) in verifyPropertyCount()