{"action":"created","issue":{"url":"https://api.github.com/repos/juttle/juttle/issues/209","labels_url":"https://api.github.com/repos/juttle/juttle/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/juttle/juttle/issues/209/comments","events_url":"https://api.github.com/repos/juttle/juttle/issues/209/events","html_url":"https://github.com/juttle/juttle/pull/209","id":127423859,"number":209,"title":"Add json module","user":{"login":"bkutil","id":696026,"avatar_url":"https://avatars.githubusercontent.com/u/696026?v=3","gravatar_id":"","url":"https://api.github.com/users/bkutil","html_url":"https://github.com/bkutil","followers_url":"https://api.github.com/users/bkutil/followers","following_url":"https://api.github.com/users/bkutil/following{/other_user}","gists_url":"https://api.github.com/users/bkutil/gists{/gist_id}","starred_url":"https://api.github.com/users/bkutil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkutil/subscriptions","organizations_url":"https://api.github.com/users/bkutil/orgs","repos_url":"https://api.github.com/users/bkutil/repos","events_url":"https://api.github.com/users/bkutil/events{/privacy}","received_events_url":"https://api.github.com/users/bkutil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/juttle/juttle/labels/in%20progress","name":"in progress","color":"ffa500"}],"state":"open","locked":false,"assignee":{"login":"bkutil","id":696026,"avatar_url":"https://avatars.githubusercontent.com/u/696026?v=3","gravatar_id":"","url":"https://api.github.com/users/bkutil","html_url":"https://github.com/bkutil","followers_url":"https://api.github.com/users/bkutil/followers","following_url":"https://api.github.com/users/bkutil/following{/other_user}","gists_url":"https://api.github.com/users/bkutil/gists{/gist_id}","starred_url":"https://api.github.com/users/bkutil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkutil/subscriptions","organizations_url":"https://api.github.com/users/bkutil/orgs","repos_url":"https://api.github.com/users/bkutil/repos","events_url":"https://api.github.com/users/bkutil/events{/privacy}","received_events_url":"https://api.github.com/users/bkutil/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-01-19T11:21:16Z","updated_at":"2016-01-21T16:02:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juttle/juttle/pulls/209","html_url":"https://github.com/juttle/juttle/pull/209","diff_url":"https://github.com/juttle/juttle/pull/209.diff","patch_url":"https://github.com/juttle/juttle/pull/209.patch"},"body":"A draft for implementing Json module for Juttle.\r\n\r\nThe reasoning behind introducing a `Json` module is that adapters can produce serialised JSON values, which the user might want to parse, e.g. in the cases when the JSON type cannot be inferred from the schema.\r\n\r\nThere are two open questions:\r\n\r\n1. how should we report parse errors from JSON parser? As a warning?\r\n2. there seems to be a bug in juttle-spec dealing with nested objects, as mocha outputs (this can be observed when running the tests):\r\n```\r\n    -      {\r\n    -        \"key\": \"value\"\r\n    -      }\r\n    +      [\r\n    +        [Function]\r\n    +      ]\r\n```"},"comment":{"url":"https://api.github.com/repos/juttle/juttle/issues/comments/173617280","html_url":"https://github.com/juttle/juttle/pull/209#issuecomment-173617280","issue_url":"https://api.github.com/repos/juttle/juttle/issues/209","id":173617280,"user":{"login":"bkutil","id":696026,"avatar_url":"https://avatars.githubusercontent.com/u/696026?v=3","gravatar_id":"","url":"https://api.github.com/users/bkutil","html_url":"https://github.com/bkutil","followers_url":"https://api.github.com/users/bkutil/followers","following_url":"https://api.github.com/users/bkutil/following{/other_user}","gists_url":"https://api.github.com/users/bkutil/gists{/gist_id}","starred_url":"https://api.github.com/users/bkutil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkutil/subscriptions","organizations_url":"https://api.github.com/users/bkutil/orgs","repos_url":"https://api.github.com/users/bkutil/repos","events_url":"https://api.github.com/users/bkutil/events{/privacy}","received_events_url":"https://api.github.com/users/bkutil/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T16:02:17Z","updated_at":"2016-01-21T16:02:17Z","body":"Lint fixes, squashed the commits to be atomic."}}