Garmaine Staff asked 2 years ago

This is my html code:

<input id='fileid' type='file' accept=".json" hidden/> 

I don't know how to read that json and use their data, specifically a file like that:

[
    {
        "feature": "Authentication",
        "devHours": 10,
        "testHours": 2
    },
    {
        "feature": "User CRUD",
        "devHours": 14,
        "testHours": 3
    },
    {
        "feature": "User CRUD",
        "devHours": 14,
        "testHours": 3
    }
]