Tesla.Middleware.JSON.encode

You're seeing just the function encode, go back to Tesla.Middleware.JSON module for more information.

Encode request body as JSON.

It is used by Tesla.Middleware.EncodeJson.