{"action":"created","issue":{"url":"https://api.github.com/repos/Knetic/govaluate/issues/12","repository_url":"https://api.github.com/repos/Knetic/govaluate","labels_url":"https://api.github.com/repos/Knetic/govaluate/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Knetic/govaluate/issues/12/comments","events_url":"https://api.github.com/repos/Knetic/govaluate/issues/12/events","html_url":"https://github.com/Knetic/govaluate/pull/12","id":148875579,"number":12,"title":"Ternary operator support","user":{"login":"iasci","id":5040414,"avatar_url":"https://avatars.githubusercontent.com/u/5040414?v=3","gravatar_id":"","url":"https://api.github.com/users/iasci","html_url":"https://github.com/iasci","followers_url":"https://api.github.com/users/iasci/followers","following_url":"https://api.github.com/users/iasci/following{/other_user}","gists_url":"https://api.github.com/users/iasci/gists{/gist_id}","starred_url":"https://api.github.com/users/iasci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iasci/subscriptions","organizations_url":"https://api.github.com/users/iasci/orgs","repos_url":"https://api.github.com/users/iasci/repos","events_url":"https://api.github.com/users/iasci/events{/privacy}","received_events_url":"https://api.github.com/users/iasci/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Knetic/govaluate/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"Knetic","id":5728164,"avatar_url":"https://avatars.githubusercontent.com/u/5728164?v=3","gravatar_id":"","url":"https://api.github.com/users/Knetic","html_url":"https://github.com/Knetic","followers_url":"https://api.github.com/users/Knetic/followers","following_url":"https://api.github.com/users/Knetic/following{/other_user}","gists_url":"https://api.github.com/users/Knetic/gists{/gist_id}","starred_url":"https://api.github.com/users/Knetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Knetic/subscriptions","organizations_url":"https://api.github.com/users/Knetic/orgs","repos_url":"https://api.github.com/users/Knetic/repos","events_url":"https://api.github.com/users/Knetic/events{/privacy}","received_events_url":"https://api.github.com/users/Knetic/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-04-16T17:57:02Z","updated_at":"2016-04-16T19:04:20Z","closed_at":"2016-04-16T19:01:50Z","pull_request":{"url":"https://api.github.com/repos/Knetic/govaluate/pulls/12","html_url":"https://github.com/Knetic/govaluate/pull/12","diff_url":"https://github.com/Knetic/govaluate/pull/12.diff","patch_url":"https://github.com/Knetic/govaluate/pull/12.patch"},"body":"This implements the `true` part of the ternary operator.\r\n\r\n@Knetic I wasn't so sure about how the evaluation worked, so would be great if you can check and let me know if I missed something. "},"comment":{"url":"https://api.github.com/repos/Knetic/govaluate/issues/comments/210875532","html_url":"https://github.com/Knetic/govaluate/pull/12#issuecomment-210875532","issue_url":"https://api.github.com/repos/Knetic/govaluate/issues/12","id":210875532,"user":{"login":"Knetic","id":5728164,"avatar_url":"https://avatars.githubusercontent.com/u/5728164?v=3","gravatar_id":"","url":"https://api.github.com/users/Knetic","html_url":"https://github.com/Knetic","followers_url":"https://api.github.com/users/Knetic/followers","following_url":"https://api.github.com/users/Knetic/following{/other_user}","gists_url":"https://api.github.com/users/Knetic/gists{/gist_id}","starred_url":"https://api.github.com/users/Knetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Knetic/subscriptions","organizations_url":"https://api.github.com/users/Knetic/orgs","repos_url":"https://api.github.com/users/Knetic/repos","events_url":"https://api.github.com/users/Knetic/events{/privacy}","received_events_url":"https://api.github.com/users/Knetic/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T19:04:20Z","updated_at":"2016-04-16T19:04:20Z","body":"Do you plan on implementing the ternary false (`:`) as well? I think it's worth doing, and while I haven't sat down to look too hard, I think you're pretty well set up to add it as part of the `evaluateTernary` method."}}