Closed 4z3 closed 12 years ago
This commit fixes an issue, where json-print would print undefined thinking it's valid JSON.
json-print
undefined
$ cat file.json { "foo": {} } # old behavior $ json-print file.json foo bar; echo $? undefined 0 # new behavior $ json-print file.json foo bar; echo $? foo.json: foo.bar is undefined 23
This commit fixes an issue, where
json-print
would printundefined
thinking it's valid JSON.Example