You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
json defaults = collect_default_rules(new_pointer, rules); // Find the default
@@ -162,12 +161,14 @@ namespace jse
162
161
log.push_back(log_item("error", "Inconsistent specifications: " + new_pointer + " is an optional field with " + std::to_string(defaults.size()) + " default values."));
163
162
returnfalse;
164
163
}
165
-
input[string(i)] = defaults[0]["default"];
166
-
167
-
// Let's validate/inject the default subtree
168
-
if (!verify_json(new_pointer, input[string(i)], rules))
169
-
returnfalse;
164
+
if (defaults[0]["default"] != "skip")
165
+
{
166
+
input[string(i)] = defaults[0]["default"];
170
167
168
+
// Let's validate/inject the default subtree
169
+
if (!verify_json(new_pointer, input[string(i)], rules))
0 commit comments