Republican presidential hopeful Vivek Ramaswamy said that as president he would pardon journalist Julian Assange.