Skip to content

tliron/go-transcribe

Repository files navigation

Transcribe for Go

License Go Reference Go Report Card

Go programs often need to output data in a structured representation format, such as JSON or YAML. But why not provide wider compatibility and support all common formats, letting the user choose? This library provides a unified API over transcribing stuctured data to several formats.

It also supports "pretty" printing to terminals with semantic colorization (including "it just works" support for colorizing Windows terminals, which defy common standards).

Supported formats:

  • YAML
  • JSON, including a convention for extending JSON to support additional type differentiation
  • XML via a conventional schema
  • CBOR
  • MessagePack
  • Go

The binary formats (CBOR, MessagePack) can be output as is (incompatible with terminals) or textualized into Base64.

About

Go library to output many representation formats

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages