@Override
    public String format() {
        return String.format("%s(CAST(%s AS STRING), %s)",
                getName(), field.format(), key.format());
    }
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