How to accurately remove the double quotation marks after the variable without regularization

remove a pair of double quotes after answer, leaving only "answer": {} what should I do

{
        "hr_email":"4564",
        "test_name":"dadsa",
        "email":"dsad@qq.com",
        "sex":"\u5973","host":"",
        "checkcode":"aa458",
        "answer":"{"A1":"0|1","A2":"1|5","A3":"1|4","A4":"1|4","A5":"1|4","A6":"1|3","A7":"1|4","A8":"1|5","A9":"1|3","A10":"1|4","A11":"1|4","A12":"1|2","A13":"1|4","A14":"1|2","A15":"1|3","A16":"1|4","A17":"1|4","A18":"1|3","A19":"1|4","A20":"1|5","A21":"1|2","A22":"1|3","A23":"1|3","A24":"1|5","A25":"1|3","A26":"1|3","A27":"1|4","A28":"1|3","A29":"1|2","A30":"1|3","A31":"1|3","A32":"1|3","A33":"1|5","A34":"1|3","A35":"1|3","A36":"1|3","A37":"1|4","A38":"1|4","A39":"1|2","A40":"1|4"}"}
Php
Mar.24,2021

is this json? There is an extra'"'and finally a'}'is missing


this is because the backend gave you the wrong data format and failed the verification. You should let the backend solve this problem.


get the string
$str = "{" A1 ":" 0 | 1 "," A2 ":" 1 | 5 "," A3 ":" 1 | 4 "," A4 ":" 1 | 4 "," A5 ":" 1 | 4 "," A6 ":" 1 | 3 "," A7 ":" 1 | 4 "," A8 ":" 1 | 5 "," A8 ":" 1 | 5 "," A5 ":" 1 | 4 "," A6 ":" 1 | 3 "," A7 ":" 1 | 4 "," A8 ":" 1 | 5 "," A4 " "A14": "1 | 2", "A15": "1 | 3", "A16": "1 | 4", "A17": "1 | 4", "A18": "1 | 3", "A19": "1 | 4", "A20": "1 | 5", "A21": "1 | 2", "A22": "1 | 3", "A23": "1 | 3", "A24": "1 | 5" "A30": "1 | 3", "A31": "1 | 3", "A32": "1 | 3", "A33": "1 | 5", "A34": "1 | 3", "A35": "1 | 3", "A36": "1 | 3", "A37": "1 | 4", "A38": "1 | 4", "A39": "1 | 2", "A40": "1 | 4" Then in the integration,
, but as said upstairs, there has been a mistake in the front desk, so it is better to write the correct and standardized json, at the front desk

.
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-1e473d4-43945.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-1e473d4-43945.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?