Menu CommandsClientsDocumentationDocsGitHubLicense
Tile38

OUTPUT [json|resp]

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 Clients 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.




Star