Link Search Menu Expand Document

Property delegation, extract and toConfig support these types:

  • Boolean
  • Byte
  • Int
  • Long
  • Float
  • Double
  • String
  • java.io.File
  • java.nio.file.Path
  • java.time.Duration
  • java.time.Period
  • java.time.temporal.TemporalAmount
  • java.util.UUID
  • java.net.URL
  • kotlin.text.Regex
  • Collections
    • List
    • Set
    • Map<K, V>
    • Array<T> (You can use Array<Int>, but can’t use Array<Array<Int>>)
  • Nullable T?
  • Typesafe Config classes(Calling toConfig is meaningless)
    • com.typesafe.config.Config
    • com.typesafe.config.ConfigValue
    • com.typesafe.config.ConfigMemorySize
  • Enum
  • Data classes

Copyright © 2016-2021 morihiro, since 2021 The Config4k Team. Distributed by an Apache License 2.0.