{"action":"created","issue":{"url":"https://api.github.com/repos/czechboy0/Jay/issues/7","repository_url":"https://api.github.com/repos/czechboy0/Jay","labels_url":"https://api.github.com/repos/czechboy0/Jay/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/czechboy0/Jay/issues/7/comments","events_url":"https://api.github.com/repos/czechboy0/Jay/issues/7/events","html_url":"https://github.com/czechboy0/Jay/issues/7","id":135446360,"number":7,"title":"Purpose of Jay struct","user":{"login":"a2","id":241156,"avatar_url":"https://avatars.githubusercontent.com/u/241156?v=3","gravatar_id":"","url":"https://api.github.com/users/a2","html_url":"https://github.com/a2","followers_url":"https://api.github.com/users/a2/followers","following_url":"https://api.github.com/users/a2/following{/other_user}","gists_url":"https://api.github.com/users/a2/gists{/gist_id}","starred_url":"https://api.github.com/users/a2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a2/subscriptions","organizations_url":"https://api.github.com/users/a2/orgs","repos_url":"https://api.github.com/users/a2/repos","events_url":"https://api.github.com/users/a2/events{/privacy}","received_events_url":"https://api.github.com/users/a2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-22T15:09:03Z","updated_at":"2016-02-22T15:18:05Z","closed_at":null,"body":"It seems that the [`Jay` struct](https://github.com/czechboy0/Jay/blob/89a0bd51e2dfb1261716653c56f40356bb7299fa/Sources/Jay/Jay.swift) should have static functions instead of member functions, since the member functions only create instances of `NativeParser` and `NativeTypeConverter`."},"comment":{"url":"https://api.github.com/repos/czechboy0/Jay/issues/comments/187226189","html_url":"https://github.com/czechboy0/Jay/issues/7#issuecomment-187226189","issue_url":"https://api.github.com/repos/czechboy0/Jay/issues/7","id":187226189,"user":{"login":"czechboy0","id":2182121,"avatar_url":"https://avatars.githubusercontent.com/u/2182121?v=3","gravatar_id":"","url":"https://api.github.com/users/czechboy0","html_url":"https://github.com/czechboy0","followers_url":"https://api.github.com/users/czechboy0/followers","following_url":"https://api.github.com/users/czechboy0/following{/other_user}","gists_url":"https://api.github.com/users/czechboy0/gists{/gist_id}","starred_url":"https://api.github.com/users/czechboy0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czechboy0/subscriptions","organizations_url":"https://api.github.com/users/czechboy0/orgs","repos_url":"https://api.github.com/users/czechboy0/repos","events_url":"https://api.github.com/users/czechboy0/events{/privacy}","received_events_url":"https://api.github.com/users/czechboy0/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T15:18:05Z","updated_at":"2016-02-22T15:18:05Z","body":"You're right.\r\n\r\nAt the moment the struct doesn't store anything, but I'm planning to attach formatting and parsing configuration (e.g. pretty printing & accepting fragments), which you'd initialize the `Jay` struct with, and then all calls to the (de)serialization function would respect that config.\r\n\r\nDoes that make sense?"}}