save JSON shell command

Summary

Saves changes to a JSON file

Description

If you're done with the JSON file, you can save it to the current JSON file. You can optionally beautify or minify the JSON file using the below switches:

SwitchDescription

-b

Beautifies the JSON file while saving

-m

Minifies the JSON file while saving

Command usage

  • save [-b|-m]

Examples

  • save: Saves the JSON file

  • save -m: Saves the JSON file, minifying it in the process.

Last updated