How to parse array from string : This is my input

    String str = 	"{\"myKey\":[{\"myHhome\":\"home1\",\"myAddress\":\"add\",\"dateTimeStamp\":\"Wed, 20 Mar 2019 14:38:54 GMT\"}],\"basedata\":{\"mydata\":{\"mytype\":\"m1\",\"mytype2\":\"m2\"}}}";

I chekced the json and it is valid 
I want to use GSON to get the value of the myHhome ( in my case hom1)

  static class Myclass{
   
        public String generation = null;


      }

 

     final Gson GSON1 = new Gson();
      String result= GSON1.fromJson(str,Myclass.class);
          System.out.println(result);

but i got null
