code: public static <T> Codec<T> create(Class<T> cls, boolean debug) {
          return create(cls, debug, null);
      }
docs: Creates the.
  
  @param <T> the generic type
  @param cls the cls
  @param debug the debug
  @return the codec