The shortcut keys are:
ctrl + j to make your json a single line
ctrl + cmd + x to make your single line json back to multi line
The shortcut keys are:
ctrl + j to make your json a single line
ctrl + cmd + x to make your single line json back to multi line