To be capable of being serialized and deserialized by generic clients, the following rules must be observed for the resulting Map.
The Map itself and any items it references, directly or indirectly must be of a class of one of the following:
- any JMX OpenType
- any serializable Collection in java.util whose items meet these rules
- arrays of items whose values meet these rules
- any Throwable found in java. or javax.
- any MapCapable which can produce a Map following these rules
@return an equivalent Map representing the original object.