var str='{"state": "SUCCESS","original": "C:\Users\liuhao_a\Desktop\1555413908(1).png","size": "5324","title": "1555901728147071547.png","type": ".png","url": "/image/20190422/1555901728147071547.png"}'
console.log(str)
if(str.indexOf("\\")){
str=str.replace(/\\/g,"\\\\")
}
var obj={}
str.replace(/\"(\w+)\": \"(.+?)\"(}|,)/gi,function(a,b,c){
console.log(b,c)
obj[b]=c
})
console.log(obj)