{"action":"created","issue":{"url":"https://api.github.com/repos/sunshinejr/Moya-ModelMapper/issues/59","repository_url":"https://api.github.com/repos/sunshinejr/Moya-ModelMapper","labels_url":"https://api.github.com/repos/sunshinejr/Moya-ModelMapper/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/sunshinejr/Moya-ModelMapper/issues/59/comments","events_url":"https://api.github.com/repos/sunshinejr/Moya-ModelMapper/issues/59/events","html_url":"https://github.com/sunshinejr/Moya-ModelMapper/issues/59","id":321655384,"number":59,"title":"How do you convert a mappable object to json?","user":{"login":"gmann1","id":6133289,"avatar_url":"https://avatars1.githubusercontent.com/u/6133289?v=4","gravatar_id":"","url":"https://api.github.com/users/gmann1","html_url":"https://github.com/gmann1","followers_url":"https://api.github.com/users/gmann1/followers","following_url":"https://api.github.com/users/gmann1/following{/other_user}","gists_url":"https://api.github.com/users/gmann1/gists{/gist_id}","starred_url":"https://api.github.com/users/gmann1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmann1/subscriptions","organizations_url":"https://api.github.com/users/gmann1/orgs","repos_url":"https://api.github.com/users/gmann1/repos","events_url":"https://api.github.com/users/gmann1/events{/privacy}","received_events_url":"https://api.github.com/users/gmann1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-09T17:17:48Z","updated_at":"2018-05-10T08:54:57Z","closed_at":null,"author_association":"NONE","body":"I'm able to deserialize just fine, but can't seem to figure out how to serialize TO json. Would love some guidance. I'd like to use this json in a POST request body. The examples aren't that clear to me.\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/sunshinejr/Moya-ModelMapper/issues/comments/387995211","html_url":"https://github.com/sunshinejr/Moya-ModelMapper/issues/59#issuecomment-387995211","issue_url":"https://api.github.com/repos/sunshinejr/Moya-ModelMapper/issues/59","id":387995211,"user":{"login":"sunshinejr","id":5232779,"avatar_url":"https://avatars3.githubusercontent.com/u/5232779?v=4","gravatar_id":"","url":"https://api.github.com/users/sunshinejr","html_url":"https://github.com/sunshinejr","followers_url":"https://api.github.com/users/sunshinejr/followers","following_url":"https://api.github.com/users/sunshinejr/following{/other_user}","gists_url":"https://api.github.com/users/sunshinejr/gists{/gist_id}","starred_url":"https://api.github.com/users/sunshinejr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunshinejr/subscriptions","organizations_url":"https://api.github.com/users/sunshinejr/orgs","repos_url":"https://api.github.com/users/sunshinejr/repos","events_url":"https://api.github.com/users/sunshinejr/events{/privacy}","received_events_url":"https://api.github.com/users/sunshinejr/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T08:54:57Z","updated_at":"2018-05-10T08:54:57Z","author_association":"OWNER","body":"Hey @gmann1. I'm afraid it is not possible to serialize to JSON. https://github.com/lyft/mapper is just a **deserializer**. You would have to do it by hand or use `Encodable`/`Decodable` (thus this library wouldn't make sense then, as `Moya` has an extension to `Codable`)."}}
{"actor":{"display_login":"sunshinejr"}}