Class ValueEncoder

java.lang.Object
dev.toonformat.jtoon.encoder.ValueEncoder

public final class ValueEncoder extends Object
Core encoding orchestrator for converting JsonNode values to TOON format. Delegates to specialized encoders based on node type.
  • Method Details

    • encodeValue

      public static String encodeValue(tools.jackson.databind.JsonNode value, EncodeOptions options)
      Encodes a normalized JsonNode value to TOON format.
      Parameters:
      value - The JsonNode to encode
      options - Encoding options (indent, delimiter, length marker)
      Returns:
      The TOON-formatted string