OUTPUT
Syntax
OUTPUT [json|resp]
Description
Gets or sets the output format for the current connection.
The two possible options are RESP or JSON.
The default format is initially auto detected based on the connection type and the first command sent. Most Client Libraries will default to RESP. The Built-in CLI will default to JSON.
Examples
OUTPUT json # all responses will now be in JSON format.
OUTPUT resp # all responses will now be in RESP format.