How to represent lists of blocks in Configgy?
Configgy supports lis开发者_如何学Cts of strings as values and blocks of key/value pairs. But it seems it does not support lists of blocks of key/value pairs as values.
Am I missing something?
I ended up using nested blocks:
contacts {
c1 {
name = "Joe Smith"
email = "jsmith@example.com"
}
c2 {
name = "John Brown"
email = "jbrown@example.com"
}
}
精彩评论