presto-thrift-api/src/main/java/io/prestosql/plugin/thrift/api/datatypes/PrestoThriftJson.java/PrestoThriftJson/fromBlock
class PrestoThriftJson:    public static PrestoThriftBlock fromBlock(Block block, Type type)
    {
        return fromSliceBasedBlock(block, type, (nulls, sizes, bytes) -> jsonData(new PrestoThriftJson(nulls, sizes, bytes)));
    }