package builtin

Import Path
	github.com/nats-io/nats.go/encoders/builtin (on go.dev)

Dependency Relation
	imports 8 packages, and imported by one package

Involved Source Files default_enc.go gob_enc.go json_enc.go
Package-Level Type Names (total 3)
/* sort by: | */
DefaultEncoder implementation for EncodedConn. This encoder will leave []byte and string untouched, but will attempt to turn numbers into appropriate strings that can be decoded. It will also properly encoded and decode bools. If will encode a struct, but if you want to properly handle structures you should use JsonEncoder. Deprecated: Encoded connections are no longer supported. Decode Deprecated: Encoded connections are no longer supported. Encode Deprecated: Encoded connections are no longer supported. *DefaultEncoder : github.com/nats-io/nats.go.Encoder
GobEncoder is a Go specific GOB Encoder implementation for EncodedConn. This encoder will use the builtin encoding/gob to Marshal and Unmarshal most types, including structs. Deprecated: Encoded connections are no longer supported. Decode Deprecated: Encoded connections are no longer supported. Encode Deprecated: Encoded connections are no longer supported. *GobEncoder : github.com/nats-io/nats.go.Encoder
JsonEncoder is a JSON Encoder implementation for EncodedConn. This encoder will use the builtin encoding/json to Marshal and Unmarshal most types, including structs. Deprecated: Encoded connections are no longer supported. Decode Deprecated: Encoded connections are no longer supported. Encode Deprecated: Encoded connections are no longer supported. *JsonEncoder : github.com/nats-io/nats.go.Encoder