Skip to content

Instantly share code, notes, and snippets.

@cescoffier
Created September 9, 2014 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cescoffier/d297d49acfe4c9d6de98 to your computer and use it in GitHub Desktop.
Save cescoffier/d297d49acfe4c9d6de98 to your computer and use it in GitHub Desktop.
Structured HOCON
# Project
application {
group = ${project.groupId}
name = ${project.artifactId}
version = ${project.version}
# Application Secret
secret = "7/19T8CiU@paf[9bF7ll<1/5@P:7xBQhFkxx??9ALJ[3B<cjoKm_k50yA_Ib2uT2"
}
# Configure ports.
http.port = 9000
# Etag and Cache Control
# http.useETag = false
# http.cache_control_max_age = 0
# Test data
key {
val = value
utf = éøîüå˚πœΩç≈˜µ√ ∑ß˙∫℃
int: 1
sub {
foo: 2
}
bool {
1: true
2: false
3 = no
4 = yes
}
array = [a, b, c]
array2 = [a, b, c],
long = 9999999999999
}
other.conf = a_file.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment