Получил некорректный json-объект.
Код: Выделить всё
{
"list_key" : "IsNLwiDOqlVkuyd4sXbm",
"rules" : {
"8" : {
"rule" : "radio.sampo.ru",
"reasons" : [
"radio.sampo.ru"
]
},
"5" : {
"reasons" : [
"http://video.rufox.ru"
],
"rule" : "video.rufox.ru"
},
"7" : {
"rule" : "pasta.cs.uit.no"
},
"3" : {
"rule" : "audio-books.su",
"reasons" : [
"audio-books.su"
]
},
"4" : {
"rule" : "biil.ru"
},
"10" : {
"rule" : "planetakino.com",
"reasons" : [
"http://planetakino.com/"
]
},
"6" : {
"reasons" : [
"radio.aplus.by"
],
"9" : {
"rule" : "195.154.200.229",
"reasons" : [
"195.154.200.229"
]
},
"2" : {
"reasons" : [
"sputnik24.tv"
],
"rule" : "sputnik24.tv"
},
"1" : {
"rule" : "168.143.186.29"
}
},
"Expired" : "2021-12-28 5:41"
}
Прошу отладить скрипт формирования json-объекта.