title: I store a lua table packed with messagepack in redis, how can i hget it and unpack it with java?
body: <p>Redis lua script below:</p>
  
  <pre><code>local vv = cmsgpack.unpack(msgpack)
  local mv = {[\"v\"]=v, [\"t\"]=t, [\"tp\"]=tp, [\"pt\"] = pt} 
  table.insert(vv, mv) 
  msgpack = cmsgpack.pack(vv)
  </code></pre>
  
  <p>and I hget the table with java:</p>
  
  <pre><code>@Message
  public static class UserMessage {
    public String v;
    public long t;
    public String tp;
    public String pt;
  }
  
  String ret = redisClient.hget(uid, "m:v");
  byte[] bytes = ret.getBytes();
  MessagePack msgpack = new MessagePack();
  ByteArrayInputStream in = new ByteArrayInputStream(bytes);
  Unpacker unpacker = msgpack.createUnpacker(in);
  UserMessage[] dst = unpacker.read(UserMessage[].class);
  </code></pre>
  
  <p>but it is wrong, it can't be unpacked correctly, I dont know where is my fault?
  This has troubled me for a long time...</p>