diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-05-19 17:06:15 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2010-06-11 15:25:14 -0300 |
commit | bd0326950f99faa8e50cf52499dd1af42829aa93 (patch) | |
tree | f014526ae4be3096c3ae5f415931459bfff90c70 /qjson.c | |
parent | 1041ba7a14260b490f3062f428b014b415a23f38 (diff) |
qjson: Handle "\f"
It's valid JSON and should be handled.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qjson.c')
-rw-r--r-- | qjson.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -158,6 +158,9 @@ static void to_json(const QObject *obj, QString *str) case '\b': qstring_append(str, "\\b"); break; + case '\f': + qstring_append(str, "\\f"); + break; case '\n': qstring_append(str, "\\n"); break; |