I am receiving a non-standard JSON format from a request. How one can convert or parse this kind of non-standard format in JavaScript or any other scripting language?
{
"count": 2,
"sales": [
{
"id": 1195816,
"city": "New York",
"name": "testing1"
},
{
"id": 1195815,
"city": "LA",
"name": "testing2"
}
],
"total_sales_count": 148393,
"date": "17.04.2020"
}
{
"count": 2,
"sales": [
{
"id": 1195816,
"city": "Washington",
"name": "testing3"
},
{
"id": 1195815,
"city": "New Jersey",
"name": "testing4"
}
],
"total_sales_count": 49403,
"date": "17.04.2020"
}