Maps are not Parcelable and this is an issue in Android when they need to be passed to activities and services via Intents. The corresponding Map-like object in Android is the Bundle. Bundle is a more generic container, it doesn't enforce types via generics and isn't supported natively by JSON deserializers such as Gson.

This utility class exposes 2 static methods to serialize/deserialize a Map into and from a Bundle so it can be parceled.