code: public Object asObject(@NonNull Class<?> clazz) {
        if (Map.class.isAssignableFrom(clazz)) {
           return asMap(clazz, String.class, String.class);
        } else if (Collection.class.isAssignableFrom(clazz)) {
           return asCollection(clazz, String.class);
        }
        return Object.class.cast(as(clazz));
     }
docs: As object.
  
  @param clazz the clazz
  @return the object