Generate json string from multidimensional array data

I am using a plugin that requires an array of associative rows as a json formatted string — something like: [ {oV: 'myfirstvalue', oT: 'myfirsttext'}, {oV: 'mysecondvalue', oT: 'mysecondtext'} ] How do I convert my multidimensional array to valid JSON output using PHP? Answers: Thank you for visiting the Q&A section on Magenaut. Please note … Read more