Print a View Field in Twig I have to convert the following D7 to D8 in my view twig file. I tried the following but its not working.

D7 Code : 

&lt;?php print $view-&gt;result[$id]-&gt;field_field_document_upload[0]["rendered"]["#file"]-&gt;filesize; ?&gt;


D8 code in Twig :

   {{ view.result[id].field_field_document_upload[0]["rendered"]["#file"].filesize }}


What's the issue
It's impossible to say without knowing what exact template you are overriding, but you can't really convert your old PHP print statements to twig just like that. 

What you can do however is put {{ dump() }} into your twig file, which is the twig equivalent to var_dump() in PHP. This will output all your available variables. 

More info on {{ dump() }} here.