public static load(reader as TextReader) as SortedMap<String, Object> throws IOException, TOMLParseException:
Loads all remaining TOML text from a reader.
The reader remains owned by the caller and is not closed by this method.
| Parameter | Description |
|---|---|
reader | Source text reader. |
Parsed root table.
reader = StringReader("port = 8080")
config = TOML.load(reader)
assert config["port"] == 8080l