parsers

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ESCAPE   = 92
	QUOTE    = 34
	SPACE    = 32
	TAB      = 9
	NEWLINE  = 10
	ASTERISK = 42
	SLASH    = 47
)

Variables

This section is empty.

Functions

func LoadJson

func LoadJson(bb []byte, data interface{}) error

func LoadJsonFile

func LoadJsonFile(filename string, data interface{}) error

func LoadJsonc

func LoadJsonc(bb []byte, data interface{}) error

func LoadJsoncFile

func LoadJsoncFile(filename string, data interface{}) error

func LoadToml

func LoadToml(bb []byte, data interface{}) error

func LoadTomlFile

func LoadTomlFile(filename string, data interface{}) error

func LoadYaml

func LoadYaml(bb []byte, data interface{}) error

func LoadYamlFile

func LoadYamlFile(filename string, data interface{}) error

func SaveJson

func SaveJson(data interface{}) ([]byte, error)

func SaveJsonFile

func SaveJsonFile(filename string, data interface{}) error

func SaveToml

func SaveToml(data interface{}) ([]byte, error)

func SaveTomlFile

func SaveTomlFile(filename string, data interface{}) error

func SaveYaml

func SaveYaml(data interface{}) ([]byte, error)

func SaveYamlFile

func SaveYamlFile(filename string, data interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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