diff options
author | Nathan Scott <nathans@aconex.com> | 2011-08-15 22:22:05 +1000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-01-17 10:29:02 +0100 |
commit | 052b1c75945106c6336fd0c172fbaa129248334c (patch) | |
tree | e737f950dc50321f6272af2f4bb913ef1e0c88b0 /tests/asynwr_small.sh | |
parent | 92f7e549df5a1333f037cf3b290e3087fd9ad5da (diff) | |
download | rsyslog-052b1c75945106c6336fd0c172fbaa129248334c.tar.gz rsyslog-052b1c75945106c6336fd0c172fbaa129248334c.tar.xz rsyslog-052b1c75945106c6336fd0c172fbaa129248334c.zip |
add JSON escaping option
Following the path taken by the two SQL formatting options,
which escape single quotes with double quotes (amongst other
things), this patch adds a JSON quoting option. JSON is the
opposite to the SQL options, requiring double quotes to be
quoted within a string. This patch provides a formatting
option implementing this requirement, while piggy-backing on
the existing code as much as possible.
Signed-off-by: Nathan Scott <nathans@aconex.com>
Diffstat (limited to 'tests/asynwr_small.sh')
0 files changed, 0 insertions, 0 deletions