Quicksight is not able to parse json file which contains arrays like I want to upload a data file which has a different data in one section so I want to format it as array but Quicksight is not able to parse that

Hmm, it seems like some JSON formats are not able to be uploaded.

I would suggest using s3 & Athena.