Interface for encoding objects of certain types to TOON.
bool EncodesMultipleRows
If the encoder encodes values into multiple rows.
IEnumerator GetElements(object Object)
Gets an enumerator for the child-elements of an object.
void Encode(object Object, int? Indent, ToonOutput Toon)
Encodes the Object to TOON.
bool EncodesAsVector(object Value)
If the encoder encodes a value as a vector.
bool EncodesAsObject(object Value)
If the encoder encodes a value as an object.
bool CanFold(object Object, out string FoldedName, out object FoldedValue)
Checks if an object can be folded to a shorter representation, and if so, returns the folded name and...
IEnumerator< KeyValuePair< string, object > > GetParameters(object Object)
Gets available parameters to encode from an object.
void Encode(object Object, int? Indent, ToonOutput Toon, BracketsMode Brackets)
Encodes the Object to TOON.
BracketsMode
How brackets should be handled when encoding vectors.