A TOML v0.4.0 parser for Julia.
Installation:
From julia package manager REPL
(v1.0) pkg> add https://github.com/JuliaLang/TOML.jl.git
julia> import TOML
julia> TOML.parse("""
name = "value"
""")
Dict{AbstractString,Any} with 1 entry:
"name" => "value"
julia> TOML.parsefile("etc/example.toml")
TOML.print(io::IO, a::AbstractDict)
Writes a TOML representation to the supplied IO
.
TOML.parse(s::AbstractString)
TOML.parse(io::IO)
TOML.parsefile(filename::AbstractString)
Parses a TOML AbstractString
or IO
stream into a nested Array
or Dict
.