After going back and verifying that json was installed correctly on my server. I went to php 7.3.19 json 1.7 which is the same as my development server and still had the same problem. However, when I used echo json_encode($response); everything worked correctly on the production server.
return $this->response->setJSON($response); still triggers an error. Does anyone know why?
Please let me know if I need to provide any additional information.
Thanks in advance for your help!
Rich Halsey