public Object getByPath(String jsonPath) {
        JSONPath path = JSONPath.of(jsonPath);
        if (path instanceof JSONPathSingleName) {
            String name = ((JSONPathSingleName) path).name;
            return get(name);
        }
        return path.eval(this);
    }
Returns the Object of the associated keys in this {@link JSONObject}.

@param key the key whose associated value is to be returned
@since 2.0.2
core/src/main/java/com/alibaba/fastjson2/JSONObject.java