1

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) ?

timrau
  • 22,578
  • 4
  • 51
  • 64
kravemir
  • 10,636
  • 17
  • 64
  • 111

1 Answers1

1

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.

Dave Newton
  • 158,873
  • 26
  • 254
  • 302