yaml

package
v0.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Loader

func Loader(L *lua.LState) int

Loader: creates and returns the yaml module for Lua. This function should be registered with L.PreloadModule("yaml", yaml.Loader)

@luamodule yaml

Example usage in Lua:

local yaml = require("yaml")
local tbl = yaml.parse('name: John\nage: 30')
local str = yaml.stringify({name="Jane", age=25})

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL