datahuborg / datahub

An experimental hosted platform (GitHub-like) for organizing, managing, sharing, collaborating, and making sense of data.
https://datahub.csail.mit.edu
MIT License
210 stars 60 forks source link

API requests can't handle JSON with single quotes #147

Open justinanderson opened 8 years ago

justinanderson commented 8 years ago

This is a limitation in the JSON parser used by Django REST Framework. I think DRF's JSON parser is pluggable, so we may be able to swap it for something more forgiving.

karger commented 8 years ago

technically single quotes aren't valid in json

On 05/06/2016 04:20 PM, Justin Anderson wrote:

This is a limitation in the JSON parser used by Django REST Framework. I think DRF's JSON parser is pluggable, so we may be able to swap it for something more forgiving.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/datahuborg/datahub/issues/147

justinanderson commented 8 years ago

I'm aiming to make DataHub liberal in what it accepts, since some developers trying out DataHub's API will code JSON by hand.