How are string objects converted to objects?

the backend returns one of these things, how to convert it into object "{" State ": 0," Message ":" available "," Data ":}"

"
Apr.09,2021

the returned data needs to be repaired in one more step before JSON.parse. can be used. If the back-end staff can change it, the easiest thing is to change them to a standard json string.

attach the front-end reform

  

the outermost layer is changed to single quotation marks

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e52973-43e7e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e52973-43e7e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?