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

TOML v0.4.0 parser for Julia

License

Notifications You must be signed in to change notification settings

JuliaAttic/TOML_old.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.