Package org.apache.juneau.marshall.hocon
Class HoconValue
java.lang.Object
org.apache.juneau.marshall.hocon.HoconValue
- Direct Known Subclasses:
HoconValue.HoconArray,HoconValue.HoconBoolean,HoconValue.HoconConcat,HoconValue.HoconNull,HoconValue.HoconNumber,HoconValue.HoconObject,HoconValue.HoconString,HoconValue.HoconSubstitution
public abstract sealed class HoconValue
extends Object
permits HoconValue.HoconObject, HoconValue.HoconSubstitution, HoconValue.HoconConcat, HoconValue.HoconArray, HoconValue.HoconString, HoconValue.HoconNumber, HoconValue.HoconBoolean, HoconValue.HoconNull
Intermediate representation for parsed HOCON data before conversion to Java beans.
HOCON parsing is multi-pass: tokenize → build tree (with path expressions and object merging) → resolve substitutions → convert to bean.
This tree allows handling of path expressions (a.b.c = value), object merging (duplicate keys merge),
value concatenation, and substitution resolution.
See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHOCON array (maps to List or array).static final classHOCON boolean value.static final classHOCON value concatenation (adjacent values concatenated).static final classHOCON null value.static final classHOCON number value.static final classHOCON object (maps to Java bean or Map).static final classHOCON string value.static final classHOCON substitution reference (${var} or ${?static enumValue type. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HoconValue
public HoconValue()
-
-
Method Details
-
getType
Returns the value type.- Returns:
- The type.
-