mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-29 17:52:28 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -102,8 +102,18 @@ namespace OpenWifi {
|
||||
for (const auto &j: VarNames) {
|
||||
std::cout << "Name: " << j << std::endl;
|
||||
Poco::JSON::Object::Ptr InnerEval;
|
||||
ReplaceVariablesInObject(VariableBlockInfo->getObject(j),InnerEval);
|
||||
Result->set(j, InnerEval);
|
||||
if(VariableBlockInfo->isArray(j)) {
|
||||
auto Arr = VariableBlockInfo->getArray(j);
|
||||
// ReplaceVariablesInObject(,InnerEval);
|
||||
// Result->set(j, InnerEval);
|
||||
std::cout << "Array!!!" << std::endl;
|
||||
} else if(VariableBlockInfo->isObject(j)) {
|
||||
std::cout << "Visiting object " << j << std::endl;
|
||||
ReplaceVariablesInObject(VariableBlockInfo->getObject(j),InnerEval);
|
||||
Result->set(j, InnerEval);
|
||||
} else {
|
||||
Result->set(j, VariableBlockInfo->get(j));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user