S
S
scriptnet hello2021-01-05 02:41:37
In contact with
scriptnet hello, 2021-01-05 02:41:37

How to parse text into json VK responses?

I uploaded a photo using photos.getMessagesUploadServer
and I can’t save

VK answer:
{"server":855512,"photo":"[{\"markers_restarted\":true,\"photo\":\"c22e3f9d33:x\",\"sizes\":[],\"latitude\" 0, \ "longitude \" 0, \ "kid \": \ "8019ffc4ac348457f7dd9bd97cc1e84c \", \ "sizes2 \": , \ "urls \": [], \ "urls2 \": [\ "FEjN8vQ7a_wsabI-P635mZ0WjqoXkCR1Ei9y0Q / oxyCxBbEB1Y.jpg \", \ "1FDLrWKMZndcCY5Ql2OxJ5JIWCxqlKoNnXvFzg / B42Cwhd1Sp4.jpg \", \ " s1gkkdFgPpzxlzIgnEpyyUQ_D56YlqY9vpS8zQ / JdV-658v-Sg.jpg \ ", \" 1FDLrWKMZndcCY5Ql2OxJ5JIWCxqlKoNnXvFzg / B42Cwhd1Sp4.jpg \ ", \" meeUvQkK0EZBN0PCNa0XEf4kyEWHWdz5G_e4Iw / UrVQOigw9vY.jpg \ ", \" gDUSF6h0Vo57vJObhsSJR951bnSMnvjr_8rsrw / kNc90qwl0Qk.jpg \ ", \"f9DPnzmuWkcNksIyydZwlSEO5z6ijHDvqLtolg/fQAI4j1JnOU.jpg\"],\"peer_id\":499337186}]","hash":"b4ca6a60b4d7e2e8c12ab85d6b8e2f34"}

I don't know how to extract server, photo and hash from the response

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question