Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Latest commit

 

History

History
41 lines (29 loc) · 1.09 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.09 KB

TOML.jl

A TOML v0.4.0 parser for Julia.

Build Status Coverage Status Build status

Installation:

From julia package manager REPL

(v1.0) pkg> add https://github.com/JuliaLang/TOML.jl.git

Basic Usage

julia> import TOML

julia> TOML.parse("""
       name = "value"
       """)
Dict{AbstractString,Any} with 1 entry:
  "name" => "value"

julia> TOML.parsefile("etc/example.toml")

Documentation

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.