Update MySql via JSON
I query something on mySql. The result is an array filled with JSONs, one for each row.
Now, I'd like to take a JSON and do the opposite: update mySQL with my JSON in 1 line if possible.
Right now I'm doing it by looping throught all attributes of my JSON but I'm sure there's a way to directly do it.