json object to associative array php
I have tried to use JSONFORCEOBJECT this had no effect on the result.1Select first div not in class name using jQuery. 1Populating an array through jquery AJAX in php. Convert PHP object to associative array. Ask Question. up vote 484 down vote favorite. 80. Rather than writing complex functions, we can simply use PHPs inbuilt functions jsonencode() and jsondecode().