[Gambas-user] JSON Encode + Formatter
Martin
mbelmonte at belmotek.net
Fri May 14 15:41:29 CEST 2021
I use to JSON files for config is fun :-). There is also a colleague
from the Spanish forum who uses a class to manage the configuration of
his program. Obviously using json is the optimal option to manage
configurations and more.Thank you very much for sharing your code.
Martín.
El 14/5/21 a las 9:12, Laurent Carlier escribió:
> Le jeudi 13 mai 2021, 21:45:11 CEST Martin a écrit :
>> Hi.
>>
>> 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?
>>
>> Tanks.
>>
>> Martín.
>>
>>
>> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> https://gitlab.com/lordheavy/alpha/-/blob/master/.src/ConfigManager.class#L100
>
> ++
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210514/10b554e2/attachment.htm>
More information about the User
mailing list