michaellavelle/spring-social-lastfm — Issue #12: Json binding error retrieving loved tracks when response contains only a single track 
Author: michaellavelle
Created: 2011-11-11 00:05:40+00:00
State: open

LastFm return different structures for the Loved tracks response depending on whether response contains a single track or multiple tracks. For a single track the "track" Json element contains a map reprsenting a track. For multiple tracks the "track" Json element contains a list of maps. This causes a Json parse exception for single track responses