hocon-parser 1.6.1

Full Lightbend HOCON specification-compliant parser for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
secret = a
secret = ${?SECRET_A}
secrets = ["b", "c"]
secrets = [${?SECRET_B}, ${?SECRET_C}]

myList = ${MY_LIST[]}
myOptionalList = ${?MY_LIST[]}
myOptionalUndefinedList = ${?UNDEFINED_LIST[]}
numList = ${NUM_LIST[]}

# list concatenation with env var list expansion
prependedList = ["x", "y"] ${?MY_LIST[]}
appendedList = ${?MY_LIST[]} ["x", "y"]
selfAppendedList = ["x"]
selfAppendedList = ${?selfAppendedList} ${?MY_LIST[]}
appendedUndefined = ["x", "y"] ${?UNDEFINED_LIST[]}