Здравствуйте
Получаю с сайта через веб сервис строку json. Пытаюсь ее прочитать, но 1С выдает ошибку "Недопустимое состояние потока записи JSON"
Сама строка проходит валидацию на сайтах проверки json
Вот код

```1c
    Результат = HTTPСоединение.Получить(HTTPЗапрос); // Отправка запроса методом GET
    Тело = Результат.ПолучитьТелоКакСтроку(); // Здесь и будет JSON ответа
    ЧтениеJSON = Новый ЧтениеJSON;
    ЧтениеJSON.УстановитьСтроку(Тело);
    ДанныеОтвета = ПрочитатьJSON(ЧтениеJSON, Ложь);
```

Вот строка

```1c
    {"response":{"orders":{"tem-53":{"id":53,"order_number":"tem-53","description":"Оплата временного проживания, ФИО, Долгопрудный, 10.02.2019 - 15.02.2019","amount":99900,"created_at":"08.02.2019 10:59:28","updated_at":"08.02.2019 11:02:52","additional_data":"{\"email\":\"@mipt.ru\",\"endDate\":\"15.02.2019\",\"birthday\":\"19.06.1993\",\"fullName\":\"ФИО\",\"location\":\"campus\",\"sendEmail\":true,\"sendPhone\":false,\"startDate\":\"10.02.2019\",\"residentType\":\"guest\"}"}}}}
```
---
ошибка разбора json в данном случае связана с недопустимым именем переменной в 1С получаемой при разборе "tem-53". Дефис не может быть использован при именовании переменной.
Тут или вручную парсить json, или переделывать выгрузку на сайте.
---
ошибка разбора json в данном случае связана с недопустимым именем переменной в 1С получаемой при разборе "tem-53". Дефис не может быть использован при именовании переменной.
Тут или вручную парсить json, или переделывать выгрузку на сайте.
---
Поменяли выгрузку. Спасибо
---
Читайте в соответствие

```1c
    ДанныеОтвета = ПрочитатьJSON(ЧтениеJSON, ИСТИНА,"updated_at",ФорматДатыJSON.Microsoft);
```

```1c
    ПрочитатьJSON(<ЧтениеJSON>, <ПрочитатьВСоответствие>, <ИменаСвойствСоЗначениямиДата>, <ОжидаемыйФорматДаты>,)
```
---
Доброго утра/дня! Я бы попробовал удалить из строки символ "\" и потом прочитать json.
---
Как раз это делал, но после этого выдается
Непредвиденный символ при чтении JSON

{"response":{"orders":{"tem-53":{"id":53,"order_number":"tem-53","description":"Оплата временного проживания, ФИО, Долгопрудный, 10.02.2019 - 15.02.2019","amount":99900,"created_at":"08.02.2019 10:59:28","updated_at":"08.02.2019 11:02:52","additional_data":"{"email":"@mipt.ru","endDate":"15.02.2019","birthday":"19.06.1993","fullName":"ФИО","location":"campus","sendEmail":true,"sendPhone":false,"startDate":"10.02.2019","residentType":"guest"}"}}}}
---
может при разборе даты косячат

```1c
    ПрочитатьJSON(<ЧтениеJSON>, <ПрочитатьВСоответствие>, <ИменаСвойствСоЗначениямиДата>, <ОжидаемыйФорматДаты>,)

    // Варианты чтения по форматам дат
    ДанныеОтвета = ПрочитатьJSON(ЧтениеJSON, Ложь,,ФорматДатыJSON.ISO);
    ДанныеОтвета = ПрочитатьJSON(ЧтениеJSON, Ложь,,ФорматДатыJSON.JavaScript);
    ДанныеОтвета = ПрочитатьJSON(ЧтениеJSON, Ложь,,ФорматДатыJSON.Microsoft);

    // Варианты чтения по форматам дат с указанием полей дат - если совсем криворукие
    // в одном файле использовали разные форматы дат
    ДанныеОтвета = ПрочитатьJSON(ЧтениеJSON, Ложь,"updated_at",ФорматДатыJSON.Microsoft);
```
---
спасибо большое за "ДанныеОтвета = ПрочитатьJSON(ЧтениеJSON, Ложь,"updated_at",ФорматДатыJSON.Microsoft)", два дня пытался распарсить различными вариантами и всегда были ошибки, а этот вариант единственный, который распарсил [{"id":"29598","who_ed":"Лаптиев Андрей (Администратор)","edit_uid":"225088","tm":"2020-03-31 06:52:56","w1":"1","w2":"1","string":"a:1:{s:4:\"subs\";a:2:{s:5:\"colls\";a:1:{s:3:\"mod\";a:1:{i:10217;a:2:{s:5:\"start\";a:2:{s:3:\"old\";s:19:\"2019-03-31 00:00:00\";s:3:\"new\";s:19:\"2019-04-01 00:00:00\";}s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2020-03-30 00:00:00\";s:3:\"new\";s:19:\"2020-03-31 00:00:00\";}}}}s:9:\"user_info\";a:2:{s:6:\"access\";s:1:\"1\";s:12:\"f_testaccess\";s:1:\"0\";}}}","info":{"subs":{"colls":{"mod":{"10217":{"start":{"old":"2019-03-31 00:00:00","new":"2019-04-01 00:00:00"},"end":{"old":"2020-03-30 00:00:00","new":"2020-03-31 00:00:00"}}}},"user_info":{"access":"1","f_testaccess":"0"}}}},{"id":"29615","who_ed":"Лаптиев Андрей (Администратор)","edit_uid":"225088","tm":"2020-04-01 01:18:45","w1":"1","w2":"1","string":"a:1:{s:4:\"subs\";a:2:{s:5:\"colls\";a:1:{s:3:\"mod\";a:1:{i:10217;a:1:{s:7:\"f_bonus\";a:2:{s:3:\"old\";s:1:\"3\";s:3:\"new\";s:1:\"2\";}}}}s:9:\"user_info\";a:2:{s:6:\"access\";s:1:\"1\";s:12:\"f_testaccess\";s:1:\"0\";}}}","info":{"subs":{"colls":{"mod":{"10217":{"f_bonus":{"old":"3","new":"2"}}}},"user_info":{"access":"1","f_testaccess":"0"}}}},{"id":"29669","who_ed":"Минаева Лариса (Администратор)","edit_uid":"225088","tm":"2020-04-01 12:49:21","w1":"1","w2":"1","string":"a:1:{s:4:\"subs\";a:2:{s:5:\"colls\";a:1:{s:3:\"del\";a:1:{i:10217;a:7:{s:2:\"id\";s:5:\"10217\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2019-04-01 00:00:00\";s:3:\"end\";s:19:\"2020-03-31 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:7:\"f_bonus\";s:1:\"2\";}}}s:9:\"user_info\";a:2:{s:6:\"access\";s:1:\"1\";s:12:\"f_testaccess\";s:1:\"0\";}}}","info":{"subs":{"colls":{"del":{"10217":{"id":"10217","access":"full","start":"2019-04-01 00:00:00","end":"2020-03-31 00:00:00","order":"","date":"","f_bonus":"2"}}},"user_info":{"access":"1","f_testaccess":"0"}}}},{"id":"29670","who_ed":"Минаева Лариса (Администратор)","edit_uid":"225088","tm":"2020-04-01 13:02:09","w1":"1","w2":"1","string":"a:1:{s:4:\"subs\";a:2:{s:5:\"colls\";a:1:{s:3:\"add\";a:1:{i:10217;a:8:{s:2:\"id\";s:5:\"10217\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-04-01 00:00:00\";s:3:\"end\";s:19:\"2021-03-31 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}}}s:9:\"user_info\";a:2:{s:6:\"access\";s:1:\"1\";s:12:\"f_testaccess\";s:1:\"0\";}}}","info":{"subs":{"colls":{"add":{"10217":{"id":"10217","access":"full","start":"2020-04-01 00:00:00","end":"2021-03-31 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"}}},"user_info":{"access":"1","f_testaccess":"0"}}}},{"id":"33454","who_ed":"Гудочников Вячеслав (Администратор)","edit_uid":"225088","tm":"2020-10-01 08:53:01","w1":"1","w2":"1","string":"a:1:{s:4:\"subs\";a:2:{s:5:\"colls\";a:1:{s:3:\"add\";a:11:{i:91;a:8:{s:2:\"id\";s:2:\"91\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-10-01 00:00:00\";s:3:\"end\";s:19:\"2021-09-30 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}i:10375;a:8:{s:2:\"id\";s:5:\"10375\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-10-01 00:00:00\";s:3:\"end\";s:19:\"2021-09-30 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}i:10377;a:8:{s:2:\"id\";s:5:\"10377\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-10-01 00:00:00\";s:3:\"end\";s:19:\"2021-09-30 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}i:11052;a:8:{s:2:\"id\";s:5:\"11052\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-10-01 00:00:00\";s:3:\"end\";s:19:\"2021-09-30 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}i:12194;a:8:{s:2:\"id\";s:5:\"12194\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-10-01 00:00:00\";s:3:\"end\";s:19:\"2021-09-30 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}i:12382;a:8:{s:2:\"id\";s:5:\"12382\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-10-01 00:00:00\";s:3:\"end\";s:19:\"2021-09-30 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}i:12577;a:8:{s:2:\"id\";s:5:\"12577\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-10-01 00:00:00\";s:3:\"end\";s:19:\"2021-09-30 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}i:12584;a:8:{s:2:\"id\";s:5:\"12584\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-10-01 00:00:00\";s:3:\"end\";s:19:\"2021-09-30 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}i:12729;a:8:{s:2:\"id\";s:5:\"12729\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-10-01 00:00:00\";s:3:\"end\";s:19:\"2021-09-30 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}i:12741;a:8:{s:2:\"id\";s:5:\"12741\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-10-01 00:00:00\";s:3:\"end\";s:19:\"2021-09-30 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}i:12747;a:8:{s:2:\"id\";s:5:\"12747\";s:6:\"access\";s:4:\"full\";s:5:\"start\";s:19:\"2020-10-01 00:00:00\";s:3:\"end\";s:19:\"2021-09-30 00:00:00\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:12:\"f_view_owner\";i:1;s:7:\"f_bonus\";s:1:\"2\";}}}s:9:\"user_info\";a:2:{s:6:\"access\";s:1:\"1\";s:12:\"f_testaccess\";s:1:\"0\";}}}","info":{"subs":{"colls":{"add":{"91":{"id":"91","access":"full","start":"2020-10-01 00:00:00","end":"2021-09-30 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"},"10375":{"id":"10375","access":"full","start":"2020-10-01 00:00:00","end":"2021-09-30 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"},"10377":{"id":"10377","access":"full","start":"2020-10-01 00:00:00","end":"2021-09-30 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"},"11052":{"id":"11052","access":"full","start":"2020-10-01 00:00:00","end":"2021-09-30 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"},"12194":{"id":"12194","access":"full","start":"2020-10-01 00:00:00","end":"2021-09-30 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"},"12382":{"id":"12382","access":"full","start":"2020-10-01 00:00:00","end":"2021-09-30 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"},"12577":{"id":"12577","access":"full","start":"2020-10-01 00:00:00","end":"2021-09-30 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"},"12584":{"id":"12584","access":"full","start":"2020-10-01 00:00:00","end":"2021-09-30 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"},"12729":{"id":"12729","access":"full","start":"2020-10-01 00:00:00","end":"2021-09-30 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"},"12741":{"id":"12741","access":"full","start":"2020-10-01 00:00:00","end":"2021-09-30 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"},"12747":{"id":"12747","access":"full","start":"2020-10-01 00:00:00","end":"2021-09-30 00:00:00","order":"","date":"","f_view_owner":1,"f_bonus":"2"}}},"user_info":{"access":"1","f_testaccess":"0"}}}},{"id":"33511","who_ed":"Система","edit_uid":"225088","tm":"2020-10-01 12:46:54","w1":"1","w2":"1","string":"a:1:{s:4:\"subs\";a:2:{s:5:\"colls\";a:1:{s:3:\"add\";a:15:{i:74;a:4:{s:2:\"id\";i:74;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:89;a:4:{s:2:\"id\";i:89;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:20;a:4:{s:2:\"id\";i:20;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:10429;a:4:{s:2:\"id\";i:10429;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:102;a:4:{s:2:\"id\";i:102;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:10464;a:4:{s:2:\"id\";i:10464;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:10434;a:4:{s:2:\"id\";i:10434;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:12021;a:4:{s:2:\"id\";i:12021;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:27;a:4:{s:2:\"id\";i:27;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:12574;a:4:{s:2:\"id\";i:12574;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:11910;a:4:{s:2:\"id\";i:11910;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:10248;a:4:{s:2:\"id\";i:10248;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:11460;a:4:{s:2:\"id\";i:11460;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:10492;a:4:{s:2:\"id\";i:10492;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}i:11509;a:4:{s:2:\"id\";i:11509;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:10:\"2020-10-01\";s:3:\"end\";s:19:\"2021-09-30 23:59:59\";}}}s:9:\"user_info\";a:2:{s:6:\"access\";s:1:\"1\";s:12:\"f_testaccess\";s:1:\"0\";}}}","info":{"subs":{"colls":{"add":{"74":{"id":74,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"89":{"id":89,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"20":{"id":20,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"10429":{"id":10429,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"102":{"id":102,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"10464":{"id":10464,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"10434":{"id":10434,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"12021":{"id":12021,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"27":{"id":27,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"12574":{"id":12574,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"11910":{"id":11910,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"10248":{"id":10248,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"11460":{"id":11460,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"10492":{"id":10492,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"},"11509":{"id":11509,"access":"full","start":"2020-10-01","end":"2021-09-30 23:59:59"}}},"user_info":{"access":"1","f_testaccess":"0"}}}},{"id":"33741","who_ed":"Гудочников Вячеслав (Администратор)","edit_uid":"225088","tm":"2020-10-23 11:35:02","w1":"1","w2":"1","string":"a:1:{s:4:\"subs\";a:2:{s:5:\"colls\";a:1:{s:3:\"add\";a:1:{i:12777;a:7:{s:2:\"id\";i:12777;s:6:\"access\";s:4:\"full\";s:5:\"start\";s:0:\"\";s:3:\"end\";s:0:\"\";s:5:\"order\";s:0:\"\";s:4:\"date\";s:0:\"\";s:7:\"f_bonus\";i:0;}}}s:9:\"user_info\";a:2:{s:6:\"access\";s:1:\"1\";s:12:\"f_testaccess\";s:1:\"0\";}}}","info":{"subs":{"colls":{"add":{"12777":{"id":12777,"access":"full","start":"","end":"","order":"","date":"","f_bonus":0}}},"user_info":{"access":"1","f_testaccess":"0"}}}},{"id":"33742","who_ed":"Гудочников Вячеслав (Администратор)","edit_uid":"225088","tm":"2020-10-23 11:38:05","w1":"1","w2":"1","string":"a:1:{s:4:\"subs\";a:2:{s:5:\"colls\";a:1:{s:3:\"mod\";a:16:{i:20;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:27;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:74;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:89;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:102;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:10248;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:10429;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:10434;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:10464;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:10492;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:11460;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:11509;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:11910;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:12021;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:12574;a:1:{s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-09-30 23:59:59\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}i:12777;a:1:{s:7:\"f_bonus\";a:2:{s:3:\"old\";s:1:\"0\";s:3:\"new\";s:1:\"2\";}}}}s:9:\"user_info\";a:2:{s:6:\"access\";s:1:\"1\";s:12:\"f_testaccess\";s:1:\"0\";}}}","info":{"subs":{"colls":{"mod":{"20":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"27":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"74":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"89":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"102":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"10248":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"10429":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"10434":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"10464":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"10492":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"11460":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"11509":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"11910":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"12021":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"12574":{"end":{"old":"2021-09-30 23:59:59","new":"2021-09-30 00:00:00"}},"12777":{"f_bonus":{"old":"0","new":"2"}}}},"user_info":{"access":"1","f_testaccess":"0"}}}},{"id":"35116","who_ed":"Лаптиев Андрей (Администратор)","edit_uid":"225088","tm":"2021-01-28 13:16:14","w1":"1","w2":"1","string":"a:1:{s:4:\"subs\";a:2:{s:5:\"colls\";a:1:{s:3:\"mod\";a:1:{i:10217;a:2:{s:5:\"start\";a:2:{s:3:\"old\";s:19:\"2020-04-01 00:00:00\";s:3:\"new\";s:19:\"2020-10-01 00:00:00\";}s:3:\"end\";a:2:{s:3:\"old\";s:19:\"2021-03-31 00:00:00\";s:3:\"new\";s:19:\"2021-09-30 00:00:00\";}}}}s:9:\"user_info\";a:2:{s:6:\"access\";s:1:\"1\";s:12:\"f_testaccess\";s:1:\"0\";}}}","info":{"subs":{"colls":{"mod":{"10217":{"start":{"old":"2020-04-01 00:00:00","new":"2020-10-01 00:00:00"},"end":{"old":"2021-03-31 00:00:00","new":"2021-09-30 00:00:00"}}}},"user_info":{"access":"1","f_testaccess":"0"}}}}]
---
А как обратное действие сделать при чтении JSON: оставлять время то, которое записано в дате, а не прибавлять часы?
К универсальной дате UTC, похоже, прибавляется часовой пояс (+ 3 часа) времени сервера, на котором запущена 1С. Изменить формирование JSON нет возможности.
---
Добрый день помогите пожалуйста кто знает отправляю запросHTTP
при проверке ответ запроса выдает ошибку Код СОСТОЯНИЕ 303

Функция ОтправитьЗапросHTTP(Параметры)

 Шаблон = СтрШаблон("/%1/%2", Параметры.ТочкаВхода, Параметры.Операция);
 ЗапросHTTP = Новый HTTPЗапрос(Шаблон);
 ЗапросHTTP.Заголовки.Вставить("Content-Type", "application/json");
 ЗапросHTTP.Заголовки.Вставить("X-Api-Key", "ddf5e1e9-4faa-4ffb-81ad-1268c76e5787");
 ЗапросHTTP.УстановитьТелоИзСтроки(Параметры.Запрос, КодировкаТекста.UTF8, ИспользованиеByteOrderMark.НеИспользовать);

 Ответ = Параметры.Соединение.ОтправитьДляОбработки(ЗапросHTTP);
 Ответ = ОбработкаJSONОтвета(Ответ);
 Возврат Ответ;

   КонецФункции