public Multimap < String , Anim > deserializeAnim ( JsonElement json , Type typeOfT , JsonDeserializationContext context ) throws JsonParseException { Multimap < String , Anim > anims = ArrayListMultimap . create ( ) ; JsonObject obj = json . getAsJsonObject ( ) ; TypeToken < ArrayList < Anim > > token = new TypeToken < ArrayList < Anim > > ( ) { } ; for ( Entry < String , JsonElement > entry : obj . entrySet ( ) ) anims . putAll ( entry . getKey ( ) , context . deserialize ( entry . getValue ( ) , token . getType ( ) ) ) ; return anims ; }
Deserialize anims multimap .