Description
JSON objects and arrays can be built safely from shell scripts and command-line arguments.
It is useful for automation, API calls, and configuration generation where hand-written quoting would be fragile. Values passed on the command line may appear in shell history, so avoid exposing secrets unless the workflow protects them.