Returns a Json representation of this path.
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.
Json
Look up a deeper path below the current path.
Loads this path out as the defined type T
.
Loads this path out as the defined type T
.
the type to represent the current path
T
Combines a Json instance at this path.
Combines a Json instance at this path.
Combines a properties object at this path.
Combines a properties object at this path.
Combines a sequence of args at this path.
Combines a sequence of args at this path.
Combines a string of content auto-detected to JSON.
Combines a string of content auto-detected to JSON.
Loads defaults from this Properties object at this path.
Loads defaults from this Properties object at this path.
Loads defaults from this Json object at this path.
Loads defaults from this Json object at this path.
Loads defaults for a string of the specified type.
Loads defaults for a string of the specified type.
Loads defaults for a sequence of args.
Loads defaults for a sequence of args. This is primarily useful for loading command-line arguments.
True if this path exists in the config
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.
Option[Json]
Merges a Properties object to this path.
Merges a Properties object to this path.
Merges a Json object to this path.
Merges a Json object to this path.
Merges a string of content from the specified type.
Merges a string of content from the specified type.
Merges a sequence of args.
Merges a sequence of args. This is primarily useful for merging command-line arguments.
Removes a field from this path.
Removes a field from this path.
the field below this path to remove
Stores the supplied value into this path.
Stores the supplied value into this path.
the type of value
the value to store
Profig provides access to environment variables, properties, and other configuration all merged together into one powerful system. Uses JSON internally to provide merging and integration. Paths are dot-separated.