Class ValueEncoder
java.lang.Object
dev.toonformat.jtoon.encoder.ValueEncoder
Core encoding orchestrator for converting JsonNode values to TOON format.
Delegates to specialized encoders based on node type.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringencodeValue(tools.jackson.databind.JsonNode value, EncodeOptions options) Encodes a normalized JsonNode value to TOON format.
-
Method Details
-
encodeValue
Encodes a normalized JsonNode value to TOON format.- Parameters:
value- The JsonNode to encodeoptions- Encoding options (indent, delimiter, length marker)- Returns:
- The TOON-formatted string
-