This is my solution to the feature request - "Text (CSV) file - get rows" - which has 500+ upvotes.
In my solution, I used the Excel Run Script action(with little Typescript - yes you read it right – we are going to invoke code without a third-party action in Power Automate) to convert CSV to JSON.
I have backed by solution with a real-life scenario in which I bulk generate documents from the CSV file - have a look at my blog - https://clavinfernandes.wordpress.com/2021/04/26/get-rowsparse-from-csv-file-using-power-automate-and-bulk-generate-documents/