public <T>JsonArray<T> createListDtoFromJson(String json,Class<T> dtoInterface){
  final DtoProvider<T> dtoProvider=getDtoProvider(dtoInterface);
  final List<JsonElement> list=gson.fromJson(json,listTypeCache.get(JsonElement.class));
  final List<T> result=new ArrayList<>(list.size());
  for (  JsonElement e : list) {
    result.add(dtoProvider.fromJson(e));
  }
  return new JsonArrayImpl<>(result);
}

public < T > JsonArray < T > createListDtoFromJson ( String json , Class < T > dtoInterface ) { final DtoProvider < T > dtoProvider = getDtoProvider ( dtoInterface ) ; final List < JsonElement > list = gson . fromJson ( json , listTypeCache . get ( JsonElement . class ) ) ; final List < T > result = new ArrayList < > ( list . size ( ) ) ; for ( JsonElement e : list ) { result . add ( dtoProvider . fromJson ( e ) ) ; } return new JsonArrayImpl < > ( result ) ; }
parses the json data from the specified sting into list of objects of the specified type .
