// Handle maps.
for (auto elem : json->mapValue()) {
static_cast<void>(set.insert(elem.first));
+ // Skip entries with free content.
if ((elem.first != "user-context") &&
(elem.first != "parameters")) {
extract(elem.second, set);
} else if (json->getType() == Element::map) {
// Handle maps.
for (auto elem : json->mapValue()) {
- // Skip user-context.
- if (elem.first == "user-context") {
+ // Skip entries with free content.
+ if ((elem.first != "user-context") &&
+ (elem.first != "parameters")) {
continue;
}
// Handle maps.
for (auto elem : json->mapValue()) {
static_cast<void>(set.insert(elem.first));
- if (elem.first != "user-context") {
+ // Skip entries with free content.
+ if ((elem.first != "user-context") &&
+ (elem.first != "parameters")) {
extract(elem.second, set);
}
}
} else if (json->getType() == Element::map) {
// Handle maps.
for (auto elem : json->mapValue()) {
- // Skip user-context.
- if (elem.first == "user-context") {
+ // Skip entries with free content.
+ if ((elem.first != "user-context") &&
+ (elem.first != "parameters")) {
continue;
}
// Handle maps.
for (auto elem : json->mapValue()) {
static_cast<void>(set.insert(elem.first));
- if (elem.first != "user-context") {
+ // Skip entries with free content.
+ if ((elem.first != "user-context") &&
+ (elem.first != "parameters")) {
extract(elem.second, set);
}
}
} else if (json->getType() == Element::map) {
// Handle maps.
for (auto elem : json->mapValue()) {
+ // Skip entries with free content.
+ if ((elem.first != "user-context") &&
+ (elem.first != "parameters")) {
+ continue;
+ }
+
// Perform tests.
string dup = elem.first + "DDDD";
json->set(dup, elem.second);
// Handle maps.
for (auto elem : json->mapValue()) {
static_cast<void>(set.insert(elem.first));
- if (elem.first != "user-context") {
+ // Skip entries with free content.
+ if ((elem.first != "user-context") &&
+ (elem.first != "parameters")) {
extract(elem.second, set);
}
}
} else if (json->getType() == Element::map) {
// Handle maps.
for (auto elem : json->mapValue()) {
+ // Skip entries with free content.
+ if ((elem.first != "user-context") &&
+ (elem.first != "parameters")) {
+ continue;
+ }
+
// Perform tests.
string dup = elem.first + "DDDD";
json->set(dup, elem.second);
// Handle maps.
for (auto elem : json->mapValue()) {
static_cast<void>(set.insert(elem.first));
- if (elem.first != "user-context") {
+ // Skip entries with free content.
+ if ((elem.first != "user-context") &&
+ (elem.first != "parameters")) {
extract(elem.second, set);
}
}
} else if (json->getType() == Element::map) {
// Handle maps.
for (auto elem : json->mapValue()) {
- // Skip user-context.
- if (elem.first == "user-context") {
+ // Skip entries with free content.
+ if ((elem.first != "user-context") &&
+ (elem.first != "parameters")) {
continue;
}