{"comment":{"position":66,"created_at":"2011-11-28T20:08:12Z","commit_id":"e88300b42c489019131c3ae26333db218f6317b9","updated_at":"2011-11-28T20:08:12Z","user":{"gravatar_id":"71596bb1ca3ba3aa4400c3f407baec9f","id":49415,"url":"https://api.github.com/users/snoyberg","avatar_url":"https://secure.gravatar.com/avatar/71596bb1ca3ba3aa4400c3f407baec9f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"snoyberg"},"body":"Even with that approach, we would need to have an extra PersistValue\nconstructor for JSON content. I think it makes sense to encode the\nconcept of JSON serialization in Persistent itself, I think it will be\nuseful for other DBs as well, especially simple key/value stores.\n\nWe can't use the Show workaround, and besides: it's *really* hacky.\nThere's no way to do an automatic packing either. I'm not horribly\nopposed to the overlapping instance, I'm sure it'll work out fine.","id":751822,"path":"persistent/Database/Persist/Store.hs","line":375,"html_url":"https://github.com/yesodweb/persistent/commit/e88300b42c#commitcomment-751822","url":"https://api.github.com/repos/yesodweb/persistent/comments/751822"}}