I am returning the following through JSON:
header('OK', true, 200);
I am getting the results in this format:
Now if the above output was displayed without the square brackets  I can populate the values in my form correctly.
Is there a way i can return the output without the square brackets?