ES6
正则表达式
let json={a: 12, b: 5, c: 'blue'}; let str=JSON.stringify(json); console.log(str);
let str='{"a":12,"b":5,"c":"blue"}'; let json=JSON.parse(str); console.log(json);
← filter Promise →