ProfigSubPath
Attributes
- Graph
-
- Supertypes
Members list
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.
Attributes
- Returns
-
Json
- Inherited from:
- ProfigPath
Attributes
- Inherited from:
- ProfigPath
Look up a deeper path below the current path.
Look up a deeper path below the current path.
Attributes
- Returns
-
ProfigPath
- 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
Attributes
- Returns
-
T
- 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
Attributes
- Returns
-
T
- Inherited from:
- ProfigPath
True if this path exists in the config
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.
Attributes
- Returns
-
Option[Json]
- Inherited from:
- ProfigPath
Attributes
- Inherited from:
- ProfigPathPlatform
Attributes
- Inherited from:
- ProfigPathPlatform
Attributes
- Inherited from:
- ProfigPathPlatform
Attributes
- Inherited from:
- ProfigPathPlatform
Maps from an existing key (if found) to a new key within this path. This is sort of like aliasing from one key to a new key, but it will actually copy the values.
Maps from an existing key (if found) to a new key within this path. This is sort of like aliasing from one key to a new key, but it will actually copy the values.
Value parameters
- keys
-
(from, to)
Attributes
- Inherited from:
- ProfigPath
Merges a Json object to this path.
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
Attributes
- Returns
-
T
- Inherited from:
- ProfigPath
Removes this path
Removes a field from this path.
Removes a field from this path.
Value parameters
- field
-
the field below this path to remove
Attributes
- 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
Attributes
- Inherited from:
- ProfigPath