getAsString

@NotNull
open fun getAsString(@NotNull path: @NotNull String, @NotNull defaultValue: @NotNull String): @NotNull String

Gets some value by some key as a string

Return

searched value or default value if null

Parameters

path

key

defaultValue

default value

Throws

if type is different.