# Types of config properties?

  1. Boolean

    #definition in conf
    send.notification=true
    
    #to read the property
    val sendNotification = Smile.conf.getBooleanMust(path = "send.notification")
    
  2. String

    #definition in conf
    search.url="www.google.com"
    
    #to read the property
    val searchUrl:String = Smile.conf.getStringMust("search.url")
    
  3. List

    #definition in conf
    support.email.list=["pavitra.k@support.com", "bhoomi.m@support.com"]
    
    #to read the property
    val supportEmailList = Smile.conf.getStringList(path = "support.email.list")
    
  4. Int

    #definition in conf
    retry.count=5
    
    #to read the property
    val retryCount = Smile.conf.getIntMust(path = "retry.count")
    

    Note: Similarly Double, Long & Number are also available

  5. Object

    #definition in conf
    fruit.option.1="apple"
    fruit.option.2="banana"
    
    #to read the property as an Object
    val fruitOptions = Smile.conf.getObject("fruit.option").get
    val firstOption = fruitOptions.get("1").render()
    
    #or directly access the property
    val firstOption = Smile.conf.getStringMust("fruit.option.1")