module

TOML::HashBuilder

Walks a Document AST and produces a plain Hash(String, Type).

All trivia (comments, blanks, formatting) is discarded; only the logical structure is kept. The resulting hash is suitable for crystal-community/TOML.cr users migrating to this shard.

Instance methods

build(document : Document) : Hash(String, Type)
Source