T
T
Turtle_Onni2017-09-26 14:33:07
JSON
Turtle_Onni, 2017-09-26 14:33:07

How to get the value of an object property by its name?

Hello!
Work with rest requests to 1C. The answer comes with Cyrillic names like: "Name".
The getProperty option doesn't work. An error about a null reference pops up.
Another question: where can I read about post requests or the general work of exchanging data with 1C?
Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Kornilov, 2017-09-26
@Turtle_Onni

var name= obj['Наименование'];

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question