src/main/java/ognl/Ognl.java
public static Object getValue(ExpressionAccessor expression, OgnlContext context,
                                  Object root, Class resultType)
    {
        return getTypeConverter(context).convertValue(context, root, null, null, expression.get(context, root), resultType);
    }
public static Object getValue(ExpressionAccessor expression, OgnlContext context,
                                  Object root, Class resultType)
    {
        return getTypeConverter(context).convertValue(context, root, null, null, expression.get(context, root), resultType);
    }
Gets the value represented by the given pre-compiled expression on the specified root
object.

@param expression
The pre-compiled expression, as found in {@link Node#getAccessor()}.
@param context
The ognl context.
@param root
The object to retrieve the expression value from.
@param resultType
The desired object type that the return value should be converted to using the {@link #getTypeConverter(java.util.Map)} }.
@return
The value.