Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add separate char codec to handle control characters #202

Merged
merged 3 commits into from
Mar 9, 2021

Conversation

thinkharderdev
Copy link
Contributor

@thinkharderdev thinkharderdev commented Mar 8, 2021

Current encoding/decoding is broken for control characters (\t, \n, etc). Need to handle those characters differently for string and single char encoding to be able to successfully decode.

@thinkharderdev thinkharderdev changed the title Add minimal test case for tab encoding issue Add separate char codec to handle control characters Mar 8, 2021
@jdegoes
Copy link
Member

jdegoes commented Mar 8, 2021

@fsvehla Can you do a quick review? Would be good to get this in

@fsvehla
Copy link
Contributor

fsvehla commented Mar 9, 2021

Looks good! Thanks, @thinkharderdev.

Will cut a release including this later this week.

@fsvehla fsvehla merged commit 1acb7fb into zio:develop Mar 9, 2021
brbrown25 pushed a commit to brbrown25/zio-json that referenced this pull request Mar 16, 2021
* Add minimal test case for tab encoding issue

* Create separate char codec for handling control characters

* Remove commented

Co-authored-by: thinkharder <thinkharderdev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants