Message from JavaScript discussions

July 2017

— Like that

— 

[servers]
[servers.alpha]
ip = "10.0.0.1"
dc = "eqdc10"

[servers.beta]
ip = "10.0.0.2"
dc = "eqdc10"

— You can make it implicit too, like e.g. nginx does

— Or xorg

— Still can't be used for many cases, as an example,

<config option="true" other-option="other">
<nested config>Bla</nested config>
</config>

Message permanent page

— Attributes as well as nested tags

— Yml is also good replacement for such configs

— I have used .ini config in translation of excel report headers

— For such stuff I usually use xml

— Config_option="true"
config_other_option="other"
config_child="nested"
nested_text="Bla"

— Obvious solutions

— Also, XML is the worst choice