toon_formater library
Classes
- ArrayHeaderInfo
- BlankLineInfo
- DecodeOptions
- EncodeOptions
- ParsedLine
- ToonField
- Annotation to mark a field for custom TOON serialization.
- ToonSerializable
- Annotation to mark a class for TOON serialization code generation.
Enums
Constants
- backslash → const String
- carriageReturn → const String
- closeBrace → const String
- closeBracket → const String
- colon → const String
- comma → const String
- defaultDelimiter → const Delimiter
- dot → const String
- doubleQuote → const String
- falseLiteral → const String
- listItemMarker → const String
- listItemPrefix → const String
- newline → const String
- nullLiteral → const String
- openBrace → const String
- openBracket → const String
- pipe → const String
- space → const String
- tab → const String
- trueLiteral → const String
Functions
-
decode(
String input, [DecodeOptions? options]) → JsonValue? - Decodes a TOON format string into a Dart value.
-
encode(
Object? input, [EncodeOptions? options]) → String - Encodes a Dart value into TOON format string.