public static void main(String[] args) throws Exception { App app = new App(); byte[] res = app.get(); MessagePack msgpack = new MessagePack(); List<String> list = new ArrayList<String>(); ByteArrayInputStream in = new ByteArrayInputStream(res); Template<List<String>> listTemplate = tList(TString); Unpacker unpacker = msgpack.createUnpacker(in); list = unpacker.read(listTemplate); System.out.println(list.get(0)); }