I’m looking for Java framework like libconfig. I like its simple human readable configuration files and also that I can create complex setting values composed from arrays, lists, groups.
Is there anything similar for Java (not XML) ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Looks like a simple JSON-esque format; why not just use JSON?
Commons Configuration supports a similarly-formatted config using PropertyListConfiguration.
A Groovy-based ConfigSlurper might be suitable if you’re considering JVM, rather than Java-the-language, solutions. JRuby and JavaScript etc. has similar implementations.