Documentation
¶
Overview ¶
Package format provides serialization formats for slidekit. TOON (Token-Optimized Object Notation) is the default format for AI agents. JSON is available for human readability.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TOONEncoder ¶
type TOONEncoder struct {
// contains filtered or unexported fields
}
TOONEncoder encodes decks and diffs to TOON format.
func (*TOONEncoder) EncodeDeck ¶
func (e *TOONEncoder) EncodeDeck(d *model.Deck) string
EncodeDeck encodes a deck to TOON format.
func (*TOONEncoder) EncodeDiff ¶
func (e *TOONEncoder) EncodeDiff(d *model.Diff) string
EncodeDiff encodes a diff to TOON format.
func (*TOONEncoder) EncodeSlide ¶ added in v0.2.0
func (e *TOONEncoder) EncodeSlide(s *model.Slide) string
EncodeSlide encodes a single slide to TOON format.
Click to show internal directories.
Click to hide internal directories.