K8s.Middleware.Request.EncodeBody (k8s v2.7.0)

View Source

Naive JSON body encoder.

Encodes JSON payloads when given an modifiying HTTP verb, otherwise returns an empty string.