K key = new Converter(keyValue).read(keyElementClass);
Value valueValue = unpacker.readValue();
V value = new Converter(valueValue).read(valueElementClass);
ret.put(key, value);
}
unpacker.readMapEnd();
assertEquals(v.size(), ret.size());
for (Map.Entry<K, V> e : ((Map<K, V>) v).entrySet()) {
Object value = ret.get(e.getKey());
assertEquals(e.getValue(), value);
}