Delphi - ISuperObject如何将保持的JSON格式化?

      {
         把JSON赋值给list
         注意:jo.AsJSon(true, false)里面的两个参数,第一个为true,才会输出格式化好的JSON
        }
        ConfigList.Text := jo.AsJSon(true, false);

参考:

https://stackoverflow.com/questions/18511333/how-do-i-pretty-print-json-in-delphi

猜你喜欢

转载自www.cnblogs.com/sunylat/p/12913087.html