1.2.7.1 Input/Output

Input and output file examples are shown in the following examples:

Example 1-2 Input

$ cat balance.json
{
	"account":5563909,
	"location":"US"
}

Example 1-3 Output

$ cat result.json
{
	"account":5563909,
	"location":"US",
	"accounts": [
		{
			"type":"savings",
			"currency":"US Dollars",
			"balance":35000.34
		},
		{
			"type":"checking",
			"currency":"US Dollars",
			"balance":500.15
		}
	]
}