T
T
techoproMas2018-07-15 19:10:07
JavaScript
techoproMas, 2018-07-15 19:10:07

How to read json correctly?

Goodnight. Dear experts, tell me how to read json type data:

{"0":{"data":{"name":"vas","fam":"hri"},"server_info":{"user_id":0,"pipe":"msg","event":"message","history":false}}}

I try - resonse[0].data.name but only [object Arguments] in response. How correctly to count the data from there?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nurdus, 2018-07-15
@nurdus

data["0"].data.name

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question