haskell/aeson

Add saner ByteString instances

Open

#187 geöffnet am 5. März 2014

Auf GitHub ansehen
 (22 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)Haskell (334 Forks)batch import
blocked by upstream/should be done externallyhelp wantedneeds decision

Repository-Metriken

Stars
 (1.298 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 89T 5h) (9 gemergte PRs in 30 T)

Beschreibung

ByteString instances were removed because they allowed people to try and insert arbitrary binary data that JSON can't handle.

Could we not re-add ByteString instances that leveraged something like base64 encoding (which JSON can take I believe) to work around this limitation?

<mgsloan> Fuuzetsu: Best thing to do is to avoid putting bytestrings in json,
          but when it's unavoidable:
          https://gist.github.com/mgsloan/bfe4bf2250c1d656a2b1  [05:03]

Contributor Guide