Skip to content
/ formato Public

Simple format converter for json, yaml, toml.

Notifications You must be signed in to change notification settings

elvuel/formato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

formato

Simple format converter for json, yaml, toml.

Moved from confandrea utilities.

Installation

$ go get github.com/elvuel/formato

Usage

//...
import (
    "github.com/elvuel/formato"
)

func main() {
    // Y2J converts YAML to JSON
    formato.Y2J(input)
    // J2Y converts JSON to YAML
    formato.J2Y(input)
    // T2J converts TOML to JSON
    formato.T2J(input)
    // J2T converts JSON to TOML
    formato.J2T(input)
}
//...

License

MIT

About

Simple format converter for json, yaml, toml.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages