java.lang.Object
io.helidon.metadata.hson.Hson
Main entry point for Helidon metadata format parsing and writing.
This is a simplified JSON, so the same types are available (see Hson.Type
).
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
A representation of HSON array.static interface
HSON Struct.static enum
The type of value.static interface
A HSON value (may of types ofHson.Type
). -
Method Summary
Modifier and TypeMethodDescriptionstatic Hson.Value
<?> parse
(InputStream inputStream) Parse the data into a value.static Hson.Struct.Builder
A new fluent API builder to construct na HSON Struct.
-
Method Details
-
parse
Parse the data into a value.- Parameters:
inputStream
- stream to parse- Returns:
- a value
- See Also:
-
structBuilder
A new fluent API builder to construct na HSON Struct.- Returns:
- a new builder
-