1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 #pragma once 4 5 #include "filter_expr_parser_ast.hpp" 6 7 #include <nlohmann/json.hpp> 8 9 namespace redfish 10 { 11 12 bool memberMatches(const nlohmann::json& member, 13 const filter_ast::LogicalAnd& filterParam); 14 15 bool applyFilterToCollection(nlohmann::json& body, 16 const filter_ast::LogicalAnd& filterParam); 17 18 } // namespace redfish 19