array to json .
Do I still need to convert to json at the frontend and at the server?
In laravel, if I remember correctly, it convert the json to array when it initialize, but even if not, you want to convert it to array for data validation
You need JSON.stringify to send json code to server side.. Then on the server side json_encode
Обсуждают сегодня