/tson

JSON parser for Go that is able to change time format flexibly

Primary LanguageGo

tson

tson is a JSON parser for Go that is able to change the time format flexibly.

Installation

$ go get github.com/go-utils/tson

Usage

The way of use a function tson.Unmarshal is the same as a function json.Unmarshal; however, you can change the time format to parse JSON into an object with a function tson.ChangeLayout before parsing. See example for detail.

License

MIT