laika.parse.hocon
Type members
Classlikes
An array value with all its elements.
An array value with all its elements.
A single part of a concatenated value with the whitespace between this and the previous value preserved.
A single part of a concatenated value with the whitespace between this and the previous value preserved.
A concatenated value (either all objects, all arrays, all simple values or invalid).
A concatenated value (either all objects, all arrays, all simple values or invalid).
The base trait of the interim configuration model (usually obtained from a HOCON parser).
The base trait of the interim configuration model (usually obtained from a HOCON parser).
This type is not exposed to public APIs as it will be translated to a final object structure later. It contains instances representing interim constructs like concatenated values or substitution variables which will not be present in the final model.
Translates the interim configuration model (usually obtained from a HOCON parser)
into the final object model. It turns a root ObjectBuilderValue
into
a root ObjectValue
.
Translates the interim configuration model (usually obtained from a HOCON parser)
into the final object model. It turns a root ObjectBuilderValue
into
a root ObjectValue
.
The translation step involves the following steps:
-
Expand keys (e.g.
{ a.b.c = 7 }
will become{ a = { b = { c = 7 }}}
-
Merge objects with a common base path
-
Merge concatenated values (e.g.
[1,2] [3,4]
will become[1,2,3,4]
-
Resolve substitution variables (potentially using the provided fallback if not found in in the provided unresolved root)
-
Expand keys (e.g.
{ a.b.c = 7 }
will become `{ a = { b = { c = 7 }}} -
Merge objects with a common base path
-
Merge concatenated values (e.g.
[1,2] [3,4]
will become[1,2,3,4]
-
Resolve substitution variables (potentially using the provided fallback if not found in in the provided unresolved root)
The parser implementation for the HOCON format.
The parser implementation for the HOCON format.
It currently supports the full spec as documented in https://github.com/lightbend/config/blob/master/HOCON.md.
Description of a resource to be included in the current configuration.
Description of a resource to be included in the current configuration.
A merged value with "last one wins" semantics for the provided values (objects will be merged instead).
A merged value with "last one wins" semantics for the provided values (objects will be merged instead).
An object value with all its fields.
An object value with all its fields.
A simple configuration value that does not need to be recursively resolved.
A simple configuration value that does not need to be recursively resolved.
A marker for a self reference, a reference to an earlier definition with the same key.
A marker for a self reference, a reference to an earlier definition with the same key.
A substitution reference that may be marked as optional.
A substitution reference that may be marked as optional.
- Companion:
- object