For my archive: the [WayBack] How do I pretty-print JSON in Delphi? – Stack Overflow*answer by [WayBack] Bob: If you do not want to use any external library, and you’re using a Delphi XE5 or newer, there is a very handy*TJson.Format()*function in the*REST.Json*
unit. uses json, REST.Json; { ... } function FormatJSON(json: String): String; var tmpJson: […]
Weiterlesen...