Netflix/hollow

Json-ifying string with newlines in it creates invalid JSON

akhaku opened this issue · 2 comments

Json-ifying string with newlines in it creates invalid JSON

We ran into another similar issue due to special characters not escaped in HollowRecordJsonStringifier.stringify() -- it's a tab character ('\t'). Despite that such characters might not make any valuable meaning to the data and should be sanitized before passing down to Cinder, it'd be nice that the HollowRecordJsonStringifier.stringify() can handle general data values.

Hi @yalinhuang, looking into this one.