haskell/aeson

Add saner ByteString instances

Open

#187 opened on 2014年3月5日

GitHub で見る
 (22 comments) (3 reactions) (0 assignees)Haskell (334 forks)batch import
blocked by upstream/should be done externallyhelp wantedneeds decision

Repository metrics

Stars
 (1,298 stars)
PR merge metrics
 (平均マージ 935d 9h) (30d で 5 merged PRs)

説明

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]

コントリビューターガイド