From MySQL Shell 8.0.27, you can activate a JSON shell mode to help with integration of MySQL Shell with other applications that could use its functionality. In this mode, MySQL Shell accepts commands formatted as JSON documents.
To activate the JSON shell mode, define the
MYSQLSH_JSON_SHELL environment variable. The
following commands can then be used:
Executes the given MySQL Shell command (see Section 3.1, “MySQL Shell Commands”).
Determines the options for auto-completion based on the given data and the current MySQL Shell context.