↓ 165 callersMethodEncodeEncode is a wrapper around [Encoder.Encode]. Note that, unlike the JSON produced by [Marshal], Encode will append a newline to the end encoded data.
src/invocation-plane-services/llm-api-gateway/internal/encoding/json/buffered_encoder.go:82