diff --git a/step-core/src/main/java/step/core/dynamicbeans/DynamicJsonObjectResolver.java b/step-core/src/main/java/step/core/dynamicbeans/DynamicJsonObjectResolver.java index 0b8b07ff8..db76b65e3 100644 --- a/step-core/src/main/java/step/core/dynamicbeans/DynamicJsonObjectResolver.java +++ b/step-core/src/main/java/step/core/dynamicbeans/DynamicJsonObjectResolver.java @@ -67,7 +67,11 @@ private Object evaluateJsonValue(JsonValue v, Map 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); }