@Override
    public List<FunctionParam> getParams() {
        return Arrays.asList(field, key);
    }
JsonGetterFunction constructor

@param field the field to be extracted
@param key the key of the field in the json
inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/transformation/function/JsonGetterFunction.java