I am performing an insert on db table that has a column called json_props
- when a word that has special characters like Everyone's
this appears in the json column (and back on the frontend) like this
{"col1": "Everyone's"}
I am using the Laravel framework what is the best/recommended Laravel way to insert/escape this correctly into the database.
-- Expected output --
Insert string with special character (like an apostrophe) and it should look normal on the frontend like this e.g
term's
-- Actual Output --
term's