docs: public static DirectionsRefreshResponse fromJson(String json) {
      GsonBuilder gsonBuilder = new GsonBuilder();
      gsonBuilder.registerTypeAdapterFactory(DirectionsRefreshAdapterFactory.create())
        .registerTypeAdapterFactory(DirectionsAdapterFactory.create());
      return gsonBuilder.create().fromJson(json, DirectionsRefreshResponse.class);
    }