How to read this file JSON


#1
{
etalon: {
8: {
course: [],
cheval: {}
},
235: {
course: [],
cheval: {}
},
345: {
course: [],
cheval: {}
},
355: {
course: [],
cheval: {}
},
468: {
course: [],
cheval: {}
}
},
}

#2

Its an invalid json. In json names need to be quoted strings. E.g.

{
    "etalon": {
          "8": {
               "course": []
           }
     }
}

Seems like its a Javascript object printed on console. User JSON.stringify(obj) to print it correctly as JSON string