I got a Json Array .?> If its really a json array you should try decode the string into array: then just push the new element into the array? Home Forums Scripting PHP Tutorials PHP [SOLVED]: Add JSON Element To Multidimensional JSON Object PHP.After you have changed the json array, you need to save it to your info. json file with this A common source of confusion with the client revolves around JSON arrays and objects, and how to specify them in PHP.Consider adding a Highlight to a query File: TypoScriptToJsonConverter.php Project/ Add child object to this element . param AbstractJsonElement parentElement The parent object param string class Type of elementpublic function addElement(AbstractJsonElement parentElement, class, array arguments) .