[Gambas-user] JSON Encode + Formatter
T Lee Davidson
t.lee.davidson at gmail.com
Fri May 14 04:38:23 CEST 2021
On 5/13/21 3:45 PM, Martin wrote:
> As you know JSON.Encode() or JSON.ToString() methods encode the JSONcollection to storage it in a simple text file, but for
> humans read o search some text there is noy easy, so is planed add some formatter to the existing methods?
> Some one have made some code in gambas to do that?
I don't know if a 'prettify' method is planned for the JSON utility, but for the time being you could shell out to the `jq` or
`jshon` command-line tools.
More information about the User