Need help in formatting JSON (in JavaScript) with Stringify and Regex replace

前端 未结 0 1761
清酒与你
清酒与你 2021-01-19 06:25

I am missing something with the regex and it\'s removing the last letter of each item before the comma.

Sample code:

let test_json = { 
    "a&quo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题