There is a JSON file containing objects I import to my script. The file looks this way, more or less:
{
"names": [
{
"name": "latacz",
"displayName": "latacz"
},
{
"name": "bomkliwer",
"displayName": "bomkliwer"
},
(...)
It gets parsed correctly, values are stored in an object named sail, and when I console.log(sail) the contents of the object, I get this:
My question is: how can I get the values, so the displayNames and names of the array elements?
