I have this JSON that is decoded.
The PHP way of accessing a bit of data is $array[elements][0]['active'].
I've tried:
array_set($form, 'elements[0].active', 'false'); array_set($form, 'elements.0.active', 'false'); array_set($form, "elements'0'.active", 'false');
But it won't work. I could not find anything in the documentation.