Parse complex Json Object with Gson : I have a json got from OMDb like this:

    {
    "Search":
        [{"Title":"Seven Pounds",
          "Year":"2008",
          "imdbID":"tt0814314",
          "Type":"movie",
          "Poster":"someUrl"},
         {"Title":"Seven Samurai",
          "Year":"1954",
          "imdbID":"tt0047478",
          "Type":"movie",
          "Poster":"someUrl"}
        ],"totalResults":"1048",
        "Response":"True"
    }
I'd like to extract every movie and store it into a List so I created a class MovieContainer with a List of Movie, which containes a set of Strings.

I used
    
    MovieContainer cnt=new Gson().fromJson(jstring, MovieContainer.class);
where jstring is a String with a json like the one above, but when I try to iterate over the List in the Container I get a NullPointerException.

Since I'm a beginner with Gson I can't find out why, how should I parse the Json?