github.com/devnote-dev/strict-yaml
main / published Jun 15, 2026 / repository
API
- Array(T)
An
Arrayis an ordered, integer-indexed collection of objects of type T. - Bool
Bool has only two possible values:
trueandfalse. - Char
A
Charrepresents a Unicode code point. - Deque(T)
A Deque ("double-ended queue") is a collection of objects of type T that behaves much like an Array.
- Enum
Enum is the base type of all enums.
- Float32
- Float64
- Hash(K, V)
A
Hashrepresents a collection of key-value mappings, similar to a dictionary. - Int128
- Int16
- Int32
- Int64
- Int8
- NamedTuple(**T)
A named tuple is a fixed-size, immutable, stack-allocated mapping of a fixed set of keys to values.
- Nil
The
Niltype has only one possible value:nil. - Object
Objectis the base type of all Crystal objects. - Path
A
Pathrepresents a filesystem path and allows path-handling operations such as querying its components as well as semantic manipulations. - Set(T)
Setimplements a collection of values with no duplicates. - StrictYAML
- String
A
Stringrepresents an immutable sequence of UTF-8 characters. - Tuple(*T)
A tuple is a fixed-size, immutable, stack-allocated sequence of values of possibly different types.
- Union(*T)
A union type represents the possibility of a variable or an expression having more than one possible type at compile time.