This PR is to fix an the issue https://github.com/neuecc/Utf8Json/issues/78, Invalid serialization of control characters. JsonWriter now detects and encodes all control characters from 0x00 to 0x1F correctly in the output stream.
Various unit tests were added to confirm the behavior.
This PR is to fix an the issue https://github.com/neuecc/Utf8Json/issues/78, Invalid serialization of control characters. JsonWriter now detects and encodes all control characters from 0x00 to 0x1F correctly in the output stream.
Various unit tests were added to confirm the behavior.