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

Invalid Control Character Error Fix #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Invalid Control Character Error Fix #7

wants to merge 3 commits into from

Conversation

crice937
Copy link

Passing the 'strict=False' argument in 'response.json()' prevents the invalid control character error which occurs if there is a control character present in the returned JSON.

crice937 and others added 3 commits April 28, 2015 21:07
Passing the 'strict=False' argument in 'response.json()' prevents the invalid control character error which occurs if there is a control character present in the returned JSON.
Defines a new class, validate_json. This class takes the resulting JSON
from get, validates it, and either prints to a defined file or throws an
error message.
Update references to json to reference geojson
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.

1 participant