Introduction

Hints

  • Typesafe Config offers:
    • JSON style syntax
    • Comments
      • use # or // for comments
    • References

Syntax Examples

The following examples are equivalent:

Configuration example: structured syntax
js7 {
    web {
        server {
            auth {
                # Allow http connections without authentication
                public = true
            }
        }
    }
}
General configuration example: condensed syntax
# Allow http connections without authentication
js7.web.server.auth.public = true



  • No labels