Answer the question
In order to leave comments, you need to log in
Counting and outputting array elements?
Hello. it is necessary to display sorted and combined data of several arrays. do not know how. Essence. from the API, I get from one to ten responses in the form of json arrays. Array example:
{
"results": [
{
"position": "1",
"url": "https:\/\/www.pizzahut.com\/",
"title": null,
"snippet": "<span>Order pizza online for fast pizza delivery or drop by for carryout. You may also
\ncontact Pizza Hut and find out about our catering services for your next big event.<\/span>"
},
{
"position": "2",
"url": "https:\/\/www.dominos.com\/",
"title": null,
"snippet": "<span>Domino's Home Page - Domino's Pizza, Order Pizza Online for Delivery -
\nDominos.com.<\/span>"
},
...
]
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question