presto-record-decoder/src/main/java/io/prestosql/decoder/json/DefaultJsonFieldDecoder.java/DefaultJsonFieldDecoder/isSupportedType
class DefaultJsonFieldDecoder:    private boolean isSupportedType(Type type)
    {
        if (isVarcharType(type)) {
            return true;
        }
        if (ImmutableList.of(
                BIGINT,
                INTEGER,
                SMALLINT,
                TINYINT,
                BOOLEAN,
                DOUBLE
        ).contains(type)) {
            return true;
        }
        return false;
    }