codecs icon indicating copy to clipboard operation
codecs copied to clipboard

Provides interfaces, functions and codecs that can be used to encode/decode data to/from various formats.

Results 3 codecs issues
Sort by recently updated
recently updated
newest added

I can used package is "[gopkg.in/mgo.v2/bson](http://gopkg.in/mgo.v2/bson)" https://github.com/stretchr/codecs/blob/master/bson/bson_codec.go#L5 ``` import ( "github.com/stretchr/codecs/constants" "labix.org/v2/mgo/bson" ) ``` ↓ ``` import ( "github.com/stretchr/codecs/constants" "gopkg.in/mgo.v2/bson" ) ```

This: name=Tyler&city=SLC Should become an object like this: ``` { name: "Tyler", city: "SLC" } ```

enhancement

Why do you encode/marshal into a freshly allocated []byte, and do you require a []byte for unmarshal? Even proper encodings/csv is hidden behind this memory-hungry, nonscalable interface...