You need to create this json
"pokaznik_10_2017" : { "1" : { "pokaznikVal" : "" }, "2" : { "pokaznikVal" : "" } .... , "368" : { "pokaznikVal" : "" } } You need to create this json
"pokaznik_10_2017" : { "1" : { "pokaznikVal" : "" }, "2" : { "pokaznikVal" : "" } .... , "368" : { "pokaznikVal" : "" } } Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
for(let i = 1; i < 369; i++){ myObject[i] = { pokaznikVal: myValue } } Source: https://ru.stackoverflow.com/questions/694571/
All Articles
....in the middle is a syntax error - Grundy....this is something like "etc." - Klimenkomud