So, I used <input> tag and input an xml file from the user. Now I want to read the content of the file. I want to be able to save the content as a JSON Object. This will be of the type IBrowserFile but I am not sure how can I use this to iterate over the file and fetch the data. If there is some other way to do so please let me know.
Sample html written is:
<input type="file" onchange="@LoadFile" accept=".xml" />
Please help me finding a solution for this!