A
A
Alexey selftrips.ru2017-04-01 13:48:35
PHP
Alexey selftrips.ru, 2017-04-01 13:48:35

How to work with JSON interface?

If you type
speller.yandex.net/services/spellservice.json/chec...
in the address bar, you get the answer
[{"code":1,"pos":0,"row":0,"col":0," len":6,"word":"malavi","s":["Malawi"]}]
How to get the value "Malawi" into some variable inside php
, the answer can be like this
[]
Well, there are no errors. How to use such an answer to understand that there is no error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-04-01
@Captain

I have already answered about XML, I will also answer about JSON. You need json_decode function

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question