Skip to content

Instantly share code, notes, and snippets.

@cescoffier
Created September 9, 2014 11:31
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/6db672c51a628c2b1d24 to your computer and use it in GitHub Desktop.
Save cescoffier/6db672c51a628c2b1d24 to your computer and use it in GitHub Desktop.
HOCON very close to properties
# Project
application.group=${project.groupId}
application.name=${project.artifactId}
application.version=${project.version}
# Application Secret
application.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
key.utf = éøîüå˚πœΩç≈˜µ√ ∑ß˙∫℃
key.int:1
key.sub.foo:2
key.bool.1:true
key.bool.2:false
key.bool.3=no
key.bool.4=yes
key.array = [a,b,c]
key.array2 = [a, b, c]
other.conf = a_file.txt
key.long = 9999999999999
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment