{"action":"created","issue":{"url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/16","labels_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/16/comments","events_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/16/events","html_url":"https://github.com/scullxbones/akka-persistence-mongo/issues/16","id":54522019,"number":16,"title":"Support JSON serialization of persistent payload","user":{"login":"michaelom","id":4853579,"avatar_url":"https://avatars.githubusercontent.com/u/4853579?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelom","html_url":"https://github.com/michaelom","followers_url":"https://api.github.com/users/michaelom/followers","following_url":"https://api.github.com/users/michaelom/following{/other_user}","gists_url":"https://api.github.com/users/michaelom/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelom/subscriptions","organizations_url":"https://api.github.com/users/michaelom/orgs","repos_url":"https://api.github.com/users/michaelom/repos","events_url":"https://api.github.com/users/michaelom/events{/privacy}","received_events_url":"https://api.github.com/users/michaelom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-01-15T23:50:16Z","updated_at":"2015-04-06T20:34:21Z","closed_at":null,"body":"We are using your mongo persistence plugin in a CQRS setup and so far it working smoothly. Great job!\r\n\r\nOne \"complaint\" though is, that PersistentRepr and its payload (events) are stored in binary format, e.g.\r\n\r\n```\r\n{\r\n  \"_id\": ObjectId(\"54b846f5e50895665d308cc0\"),\r\n  \"pid\": \"MyEntity-0815\",\r\n  \"sn\": NumberLong(2),\r\n  \"cs\": [\r\n\r\n  ],\r\n  \"dl\": false,\r\n  \"pr\": BinData(0, \"CkgIARJErO0ABXNyABpjb20uZ2ltYi5jb21tb24uZXMuQ29uZmlybQlACa6R6c/CAgABSgAKZGVsaXZlcnlJZHhwAAAAAAAAAAEQAhotQ2hlY2tvdXQtZjk3NGU5OGMtMWNhZi00MWRjLWJhZTEtZGNhMmVkZWZhNzU3IAAwAEAAWmBha2thLnRjcDovL0NoZWNrb3V0QWN0b3JTeXN0ZW1AMTI3LjAuMC4xOjI1NTIvdXNlci9zaW5nbGV0b24vY2hlY2tvdXRUb3BpY0FnZ3JlZ2F0b3IjLTE0Nzc3MDU1NjI=\")\r\n}\r\n```\r\n\r\nI think it is a fundamental feature to be able to query the event store (during development and production) and have a JSON-representation of all events when using MongoDB.\r\n\r\nEvent Store (https://github.com/EventStore/EventStore.JVM) does not seem to be a very mature plugin, but it does provide support for custom JSON serialization. Martin Krassers Kafka Plugin too.\r\n\r\nAny way you can provide support for JSON serialization?"},"comment":{"url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/comments/90231708","html_url":"https://github.com/scullxbones/akka-persistence-mongo/issues/16#issuecomment-90231708","issue_url":"https://api.github.com/repos/scullxbones/akka-persistence-mongo/issues/16","id":90231708,"user":{"login":"jochenchrist","id":2930448,"avatar_url":"https://avatars.githubusercontent.com/u/2930448?v=3","gravatar_id":"","url":"https://api.github.com/users/jochenchrist","html_url":"https://github.com/jochenchrist","followers_url":"https://api.github.com/users/jochenchrist/followers","following_url":"https://api.github.com/users/jochenchrist/following{/other_user}","gists_url":"https://api.github.com/users/jochenchrist/gists{/gist_id}","starred_url":"https://api.github.com/users/jochenchrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jochenchrist/subscriptions","organizations_url":"https://api.github.com/users/jochenchrist/orgs","repos_url":"https://api.github.com/users/jochenchrist/repos","events_url":"https://api.github.com/users/jochenchrist/events{/privacy}","received_events_url":"https://api.github.com/users/jochenchrist/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T20:34:21Z","updated_at":"2015-04-06T20:34:21Z","body":"Still interested. \r\nCould you make any progress?\r\n\r\nAlso have a look at the discussion at https://github.com/ironfish/akka-persistence-mongo/issues/88\r\n"}}