Skip to content

Commit

Permalink
SED-3196 support arrays and objects (#281)
Browse files Browse the repository at this point in the history
* SED-3207 Step API - support map as keyword input

* SED-3196 support nested dynamic objects

* SED-3196 bumping api
  • Loading branch information
david-stephan authored Jun 20, 2024
1 parent 0b65e8b commit 24a4d5e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ private Object evaluateJsonValue(JsonValue v, Map<String, Object> bindings) {
if(v instanceof JsonObject) {
JsonObject jsonObject = (JsonObject) v;
if(jsonObject.containsKey("dynamic")) {
return valueResolver.evaluate(jsonObject, bindings);
Object evaluate = valueResolver.evaluate(jsonObject, bindings);
if (evaluate instanceof JsonObject) {
return evaluate((JsonObject) evaluate, bindings);
}
return evaluate;
} else {
return evaluate(jsonObject, bindings);
}
Expand Down

0 comments on commit 24a4d5e

Please sign in to comment.