# README

yaml GoDoc

Usage

local yaml = require("yaml")
local inspect = require("inspect")

-- yaml.decode()
local text = [[
a:
  b: 1
]]
local result, err = yaml.decode(text)
if err then error(err) end
print(inspect(result, {newline="", indent=""}))
-- Output:
-- {a = {b = 1}}

# Functions

Decode lua yaml.decode(string) returns (table, error).
Loader is the module loader function.
Preload adds yaml to the given Lua state's package.preload table.