toddmohney / json-api

Haskell Implementation of the JSON-API specification
http://hackage.haskell.org/package/json-api
MIT License
35 stars 14 forks source link

Add 'meta' to ResourceObject #10

Closed toddmohney closed 8 years ago

toddmohney commented 8 years ago

Specification: http://jsonapi.org/format/#document-resource-objects

toddmohney commented 8 years ago

See if we can use ExistentialQuantification or GADTs to reduce the functional constraint noise.

Ex. data Meta = forall a . (ToJSON a, FromJSON a) => Meta a or data Meta = (ToJSON a, FromJSON a) => a -> Meta a