Both Writers do not encode escape characters as per the JSON spec. I've taken the json-c encoding implementation and integrated into json_writer.cpp; patch attached.
Patch
Similar fix has been integrated from another patch.
Log in to post a comment.
Patch
Similar fix has been integrated from another patch.