[Info-vax] systemd (was Re: openvms and xterm)
Arne Vajhøj
arne at vajhoej.dk
Thu Apr 25 19:03:54 EDT 2024
On 4/25/2024 6:33 PM, Lawrence D'Oliveiro wrote:
> On Sun, 21 Apr 2024 19:18:19 -0400, Arne Vajhøj wrote:
>> The 3 most widely formats for config files today are XML, JSON and YAML.
>
> No, those are mainly used for data interchange, not so much for config
> files (apart from XML).
JSON is used for data exchange, but also for config.
Examples:
* .NET Core/5+ and its app config replacement
* PHP composer and its composer.json
YAML is the preferred config file format in the container/devops world.
>> But INI and Java properties may be the next 2 in usage.
>
> “Java properties” isn’t a file format.
Of course it is.
foobar.ini with:
[a]
a1 = 123
a2 = ABC
[b]
b1 = 456
b2 = DEF
can be done as foobar.properties:
a.a1 = 123
a.a2 = ABC
b.b1 = 456
b.b2 = DEF
> There is also TOML.
Ah. I forgot about that one.
Arne
More information about the Info-vax
mailing list