jsonyx patch

Apply a JSON patch to the input file.

Usage

jsonyx patch [-h] [-a] [-c] [-C] [-d] [-i SPACES] [-l] [-L LEVEL] [-s]
             [-S] [-t] [-T] [-q] patch_filename [input_filename]
             [output_filename]

Positional arguments

patch_filename

The path to the JSON patch file.

input_filename

The path to the input JSON file, or "-" for standard input. If not specified, read from sys.stdin.

output_filename

The path to the output JSON file. If not specified, write to sys.stdout.

See jsonyx format for the formatting options.