The config data are stored in a record and consists of a mix of data types like strings and numbers as well as booleans. Is there a simple way to encode the record as a JSON message
Yes, it is. You can write to json values by path: /dir1/dir2/dir3/key,so for your record, make string paths for your values: /myrec/keybool ; /myrec/keyint ; ...
-- Regards, Alexey -- _______________________________________________ Lazarus mailing list [email protected] https://lists.lazarus-ide.org/listinfo/lazarus
