How to traverse array in json? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How to traverse array in json?

https://code.sololearn.com/WbcS9F9AV6K7/?ref=app I want to take what was passed in the URL as a parameter, and compare, to see if it has json in category The problem is that, as it is, it works, but only if it has 1 value in category, if it has two or more, it no longer prints anything on the screen. See the code, and please help me :(

10th Aug 2019, 3:47 PM
TheReyzer TM
TheReyzer TM - avatar
2 Respostas
0
I don't understand much this :( I'm noob
10th Aug 2019, 3:56 PM
TheReyzer TM
TheReyzer TM - avatar