Class MultiValuedObjectMapAdapter

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<MultiValuedObjectMapAdapter.KeyValueListAdaptedMap,Map<String,Map<String,String>>>
de.hybris.platform.cmssmarteditwebservices.jaxb.adapters.MultiValuedObjectMapAdapter

public class MultiValuedObjectMapAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<MultiValuedObjectMapAdapter.KeyValueListAdaptedMap,Map<String,Map<String,String>>>
This Adapter is used to convert multivalued maps Map<String, Map<String, String>> into XML/JSON objects, and vice-versa, where the entries are represented as Key/Value pairs, as opposed to an array representation. Example:
   
   public class Container
   {
     private Map<String, Map<String, String>> value;
   }
   
 
would have the following JSON representation:
   
   {
     "value": {
       "key1": {"subkey1": "value1", "subkey2": "value2"},
       "key2": {"subkey3": "value3", "subkey4": "value4"}
     }
   }