Skip to content

ugorji/go

master
Switch branches/tags
Code

Latest commit

…ng decoding

Checking if a string contains valid unicode can be expensive,
as you need to walk the whole string in sequence. Make this an option.

Apply it to the formats which specific support for
unicode as a type: binc, cbor, msgpack and json.

Fixes #370
e9e4531

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Sourcegraph Build Status codecov PkgGoDev rcard License

go-codec

This repository contains the go-codec library, the codecgen tool and benchmarks for comparing against other libraries.

This is a High Performance, Feature-Rich Idiomatic Go 1.4+ codec/encoding library for binary and text formats: binc, msgpack, cbor, json and simple.

It fully supports the legacy GOPATH and the new go modules modes.

Code Organization and Module Support

This repository consists of 4 modules:

  • github.com/ugorji/go (requires github.com/ugorji/go/codec)
  • github.com/ugorji/go/codec (requires github.com/ugorji/go) README
  • github.com/ugorji/go/codec/codecgen (requires github.com/ugorji/go/codec) README
  • github.com/ugorji/go/codec/bench (requires github.com/ugorji/go/codec) README

For encoding and decoding, the github.com/ugorji/go/codec module is sufficient.

To install:

go get github.com/ugorji/go/codec

The other modules exist for specific uses, and all require github.com/ugorji/go/codec

About

idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]

Resources

License

Stars

Watchers

Forks

Packages

No packages published