Securing my php/json script

I’m retrieving a json array within my php script.

How can I protect the data?

Realistically, you can’t. The array is being received on the client-side where all received information is available to the client.

You might as well ask “how do I stop people viewing my HTML code”, which is just as large a waste of time and effort.