When I try to use json.sh with json string containing new line, parsing will fail. Example: printf '{"a":"b\nc"}' | ./json.sh Result: EXPECTED value GOT "