CSV Parser

I have a csv file that has a “horizontal table” instead of the usual database where each row is a new iteration, in this case each column is a diferent iteration. Is there any way to parse that and turn it into a JSON?