{"action":"created","issue":{"url":"https://api.github.com/repos/jfromaniello/Anna/issues/9","labels_url":"https://api.github.com/repos/jfromaniello/Anna/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/jfromaniello/Anna/issues/9/comments","events_url":"https://api.github.com/repos/jfromaniello/Anna/issues/9/events","html_url":"https://github.com/jfromaniello/Anna/pull/9","id":54282726,"number":9,"title":"Adding Anna.Json library","user":{"login":"ipjohnson","id":4260307,"avatar_url":"https://avatars.githubusercontent.com/u/4260307?v=3","gravatar_id":"","url":"https://api.github.com/users/ipjohnson","html_url":"https://github.com/ipjohnson","followers_url":"https://api.github.com/users/ipjohnson/followers","following_url":"https://api.github.com/users/ipjohnson/following{/other_user}","gists_url":"https://api.github.com/users/ipjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/ipjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipjohnson/subscriptions","organizations_url":"https://api.github.com/users/ipjohnson/orgs","repos_url":"https://api.github.com/users/ipjohnson/repos","events_url":"https://api.github.com/users/ipjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/ipjohnson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-14T04:23:53Z","updated_at":"2015-01-14T17:56:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jfromaniello/Anna/pulls/9","html_url":"https://github.com/jfromaniello/Anna/pull/9","diff_url":"https://github.com/jfromaniello/Anna/pull/9.diff","patch_url":"https://github.com/jfromaniello/Anna/pull/9.patch"},"body":"I've added a couple extension methods that make it easier to send and receive JSON objects. I also updated the build and added a new nuspec file.\r\n\r\n// Get T using UriArguements, QueryString and Json POST data \r\npublic static T GetAs&lt;T&gt;(this RequestContext ctx)\r\n\r\n// Respond to request with a strong typed instance\r\npublic static void RespondAs&lt;T&gt;(this RequestContext requestContext, T tReturn, int statusCode = 200, IDictionary<string, string> headers = null)\r\n\r\n// Subscribe handler that takes a strongly typed model\r\npublic static IDisposable SubscribeAslt;T&gt;(this IObservable<RequestContext> queryable, Action<T> handler)\r\n\r\n// Subscribe handler that takes strongly typed model and returns strongly typed model\r\npublic static IDisposable SubscribeAs&lt;T,TReturn&gt;(this IObservable<RequestContext> queryable, Func<T,TReturn> handler)"},"comment":{"url":"https://api.github.com/repos/jfromaniello/Anna/issues/comments/69960084","html_url":"https://github.com/jfromaniello/Anna/pull/9#issuecomment-69960084","issue_url":"https://api.github.com/repos/jfromaniello/Anna/issues/9","id":69960084,"user":{"login":"jfromaniello","id":178512,"avatar_url":"https://avatars.githubusercontent.com/u/178512?v=3","gravatar_id":"","url":"https://api.github.com/users/jfromaniello","html_url":"https://github.com/jfromaniello","followers_url":"https://api.github.com/users/jfromaniello/followers","following_url":"https://api.github.com/users/jfromaniello/following{/other_user}","gists_url":"https://api.github.com/users/jfromaniello/gists{/gist_id}","starred_url":"https://api.github.com/users/jfromaniello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfromaniello/subscriptions","organizations_url":"https://api.github.com/users/jfromaniello/orgs","repos_url":"https://api.github.com/users/jfromaniello/repos","events_url":"https://api.github.com/users/jfromaniello/events{/privacy}","received_events_url":"https://api.github.com/users/jfromaniello/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T17:56:30Z","updated_at":"2015-01-14T17:56:30Z","body":"I really like where this is going well done. \r\n\r\nNot sure about the extension method names.. I'd prefer something more specific instead of `req.GetAs<Person>` maybe `req.GetBodyAs<Person>`  or something like that.\r\n\r\n@kawazoe  Regarding the serializers, you will have to excuse me I haven't been doing .Net in a long time now, and I don't know the current state. Maybe using the one that comes with .net as default?"}}