Class StringStringMapCodec

java.lang.Object
com.illumon.util.codec.MapCodec<String,​V>
com.illumon.util.codec.StringStringMapCodec
All Implemented Interfaces:
ObjectCodec<Map<String,​String>>, ObjectDecoder<Map<String,​String>>

public class StringStringMapCodec
extends MapCodec<String,​V>
ObjectCodec implementation for Maps of String to String. Each map is encoded as an integer length, followed by UTF-8 encoded strings for each key and value. A null map is represented as an array of zero bytes.