func GetEncoder(w io.Writer) *Encoder {
	e := encPool.Get().(*Encoder)
	e.Reset(w)
	return e
}
GetEncoder returns an encoder configured to write to w.
package codec
import (
	"io"
	"sync"
	"github.com/ugorji/go/codec"
)
var jsonHandle codec.JsonHandle
func init() {
	jsonHandle.WriterBufferSize = 4096
	jsonHandle.ReaderBufferSize = 4096
	jsonHandle.TimeNotBuiltin = true
}
var (
	encPool = sync.Pool{
		New: func() interface{} {
			return codec.NewEncoder(nil, &jsonHandle)
		},
	}
	decPool = sync.Pool{
		New: func() interface{} {
			return codec.NewDecoder(nil, &jsonHandle)
		},
	}
)
type Encoder = codec.Encoder