@Override
    public long arrayAppend(String path, Object... values) {
        return get(arrayAppendAsync(path, values));
    }
@Test
    public void testArrayAppend() {
        RJsonBucket<TestType> al = redisson.getJsonBucket("test", new JacksonCodec<>(TestType.class));
        TestType t = new TestType();
        NestedType nt = new NestedType();
        nt.setValues(Arrays.asList("t1", "t2"));
        t.setType(nt);
        al.set(t);

        long s1 = al.arrayAppend("$.type.values", "t3", "t4");
        assertThat(s1).isEqualTo(4);
        List<String> n = al.get(new JacksonCodec<>(new TypeReference<List<String>>() {}), "type.values");
        assertThat(n).containsExactly("t1", "t2", "t3", "t4");

        List<Long> s2 = al.arrayAppendMulti("$.type.values", "t5", "t6");
        assertThat(s2).containsExactly(6L);
        List<String> n2 = al.get(new JacksonCodec<>(new TypeReference<List<String>>() {}), "type.values");
        assertThat(n2).containsExactly("t1", "t2", "t3", "t4", "t5", "t6");
    }