Turn TOML data into Swift objects.
try TOMLDeserializer.tomlTable(with: data) // [String: Any]
Compatible with TOML v0.5.0
Unless you have a good reason not to, TOMLDecoder is probably a better choice for your TOML needs.
use_frameworks! pod "TOMLDeserializer"
.package(url: "https://github.com/dduan/TOMLDeserializer", from: "0.1.3")
In addition to Swift types from the standard library, date and time are represeted with types from the NetTime library. The following is a mapping from types defined in the TOML spec to Swift types.