ProfigSubPath
Value members
Inherited methods
Returns a Json representation of this path. Works similar to get()
, except will return an empty Json object if
there is nothing at this level.
Returns a Json representation of this path. Works similar to get()
, except will return an empty Json object if
there is nothing at this level.
- Returns:
Json
- Inherited from:
- ProfigPath
Look up a deeper path below the current path.
Look up a deeper path below the current path.
- Returns:
ProfigPath
- Inherited from:
- ProfigPath
Loads this path out as the defined type T
. If no value is set for this path, the default will be used.
Loads this path out as the defined type T
. If no value is set for this path, the default will be used.
- Type parameters:
- T
the type to represent the current path
- Value parameters:
- default
the default to be used if this path is empty
- Returns:
T
- Inherited from:
- ProfigPath
Loads this path out as the defined type T
.
Loads this path out as the defined type T
.
- Type parameters:
- T
the type to represent the current path
- Returns:
T
- Inherited from:
- ProfigPath
True if this path exists in the config
True if this path exists in the config
- Inherited from:
- ProfigPath
Returns a Json representation of this path if there is anything defined at this level.
Returns a Json representation of this path if there is anything defined at this level.
- Returns:
Option[Json]
- Inherited from:
- ProfigPath
Convenience functionality similar to as
but returns an option if set.
Convenience functionality similar to as
but returns an option if set.
- Type parameters:
- T
the type to represent the current path
- Returns:
T
- Inherited from:
- ProfigPath
Removes a field from this path.
Removes a field from this path.
- Value parameters:
- field
the field below this path to remove
- Inherited from:
- ProfigPath
Stores the supplied value into this path.
Stores the supplied value into this path.
- Type parameters:
- T
the type of value
- Value parameters:
- value
the value to store
- Inherited from:
- ProfigPath