Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
@@ -2119,6 +2119,9 @@ inline StringBuffer &encodeJSONChar(StringBuffer &s, const char *&ch, unsigned &
s.append('\\');
s.append(next);
break;
+ case '\0':
+ s.append("\\u0000");
+ break;
default:
if (next >= ' ' && next < 128)