Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 23. október 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  libcfg+  »  Fórum  »  How to handle nested configuration sections in libcfg+?

libcfg+ General     How to handle nested configuration sections in libcfg+?
Odoslať novú tému   Odpovedať na tému    
 
lecowardice     Založený: 19.09.2025   Príspevky: 1  
Príspevok Zaslal: 2025-10-08 05:29
Návrat hore  Odpovedať s citátom     

Hi all,

I’m currently working on a project using libcfg+ for configuration parsing. My config file has nested sections, something like this:

[server]
port = 8080

[server.database]
host = localhost
user = admin
password = secret
Sprunki Phase 5

I’m struggling to figure out the best way to define and parse these nested sections using libcfg+. Does libcfg+ support nested sections natively, or do I need to flatten the structure somehow? If it supports them, how should I define the schema to properly access the nested values?

Any example snippets or advice would be much appreciated!

Thanks in advance.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov