{"action":"created","issue":{"url":"https://api.github.com/repos/bazaarvoice/jolt/issues/224","repository_url":"https://api.github.com/repos/bazaarvoice/jolt","labels_url":"https://api.github.com/repos/bazaarvoice/jolt/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/bazaarvoice/jolt/issues/224/comments","events_url":"https://api.github.com/repos/bazaarvoice/jolt/issues/224/events","html_url":"https://github.com/bazaarvoice/jolt/issues/224","id":164137964,"number":224,"title":"Conditional Static Values","user":{"login":"mhubbard","id":705747,"avatar_url":"https://avatars.githubusercontent.com/u/705747?v=3","gravatar_id":"","url":"https://api.github.com/users/mhubbard","html_url":"https://github.com/mhubbard","followers_url":"https://api.github.com/users/mhubbard/followers","following_url":"https://api.github.com/users/mhubbard/following{/other_user}","gists_url":"https://api.github.com/users/mhubbard/gists{/gist_id}","starred_url":"https://api.github.com/users/mhubbard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhubbard/subscriptions","organizations_url":"https://api.github.com/users/mhubbard/orgs","repos_url":"https://api.github.com/users/mhubbard/repos","events_url":"https://api.github.com/users/mhubbard/events{/privacy}","received_events_url":"https://api.github.com/users/mhubbard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-06T18:04:11Z","updated_at":"2016-07-11T08:36:15Z","closed_at":null,"body":"I need to add static/hardcoded values to my output based on my input, it seems like there is no conditions in defaultr and no static values in shiftr. For example if I have a section of input\r\n\r\n```json\r\n{\r\n    \"Order\": {\r\n        \"Purpose\": \"New Business\"\r\n    }\r\n}\r\n```\r\n\r\nWhere \"Purpose\" can be \"New Business\", \"Renewal\", or null. And would like to transform that to numbers of significance to my system, for example; if new business then 560, if renewal then 204, otherwise 1. So I would like an output of.\r\n\r\n```json\r\n{\r\n    \"Order\": {\r\n        \"purposeTypeId\": 560\r\n    }\r\n}\r\n```\r\n\r\nIs this possible currently? "},"comment":{"url":"https://api.github.com/repos/bazaarvoice/jolt/issues/comments/231673666","html_url":"https://github.com/bazaarvoice/jolt/issues/224#issuecomment-231673666","issue_url":"https://api.github.com/repos/bazaarvoice/jolt/issues/224","id":231673666,"user":{"login":"hauseja3","id":13918426,"avatar_url":"https://avatars.githubusercontent.com/u/13918426?v=3","gravatar_id":"","url":"https://api.github.com/users/hauseja3","html_url":"https://github.com/hauseja3","followers_url":"https://api.github.com/users/hauseja3/followers","following_url":"https://api.github.com/users/hauseja3/following{/other_user}","gists_url":"https://api.github.com/users/hauseja3/gists{/gist_id}","starred_url":"https://api.github.com/users/hauseja3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hauseja3/subscriptions","organizations_url":"https://api.github.com/users/hauseja3/orgs","repos_url":"https://api.github.com/users/hauseja3/repos","events_url":"https://api.github.com/users/hauseja3/events{/privacy}","received_events_url":"https://api.github.com/users/hauseja3/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T08:36:15Z","updated_at":"2016-07-11T08:36:15Z","body":"@mhubbard @milosimpson would you please show me the desired syntax for this mapping? Just simple example"}}
{"actor":{"display_login":"hauseja3"}}