Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Should not return an error on control characters in string #98

Closed
pzol opened this issue Apr 14, 2015 · 2 comments
Closed

Should not return an error on control characters in string #98

pzol opened this issue Apr 14, 2015 · 2 comments

Comments

@pzol
Copy link

pzol commented Apr 14, 2015

Or should at least give the option to ignore them.

f514d05#diff-53fb26f5f2a7c73aed739f3cf6a2c81aR1672

With this, if there is garbage within a string, you cannot decode the json in question

@dtolnay
Copy link
Contributor

dtolnay commented Feb 2, 2017

I would be against supporting this. If your data is not JSON, you should not be using a JSON parser to read it.

@alexcrichton
Copy link
Contributor

I'm going to close this now that this crate is deprecated in favor of serde. We're discontinuing feature development in rustc-serialize but will still continue to merge bug fixes if they arise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants