MCPcopy
hub / github.com/nats-io/nats.go / JsonEncoder

Struct JsonEncoder

encoders/builtin/json_enc.go:26–28  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

24//
25// Deprecated: Encoded connections are no longer supported.
26type JsonEncoder struct {
27 // Empty
28}
29
30// Encode
31//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected