Skip to content

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