1

我有val config = Play.current.configuration并且我想获取Map[String, String]所有当前配置键及其字符串值。我怎样才能做到这一点?

4

1 回答 1

1

config.entrySet.toMap.mapValues(_.render)

于 2014-02-28T02:27:40.920 回答