struct

CON::Builder

Inherits Struct < Value < Object

The builder advantage efficiency over safety. It is relativaly unsafe to use it as-is, using it through Object#to_con is often a better option.

Constructors

new(io : IO, indent : String | Nil = nil)
Source

Instance methods

array(key : String, &)
Source
array
Source
bool(bool : Bool)
Source
field(key, value)
Source
float(float : Float)
Source
hash(key : String, &)
Source
hash(new_line : Bool = true, &)
Source
integer(integer : Int)
Source
max_nesting
Source
max_nesting=(max_nesting : Int32)
Source
newline
Source
string(string : String)
Source
value(value)
Source

Nested types