{"action":"opened","issue":{"url":"https://api.github.com/repos/json-path/JsonPath/issues/479","repository_url":"https://api.github.com/repos/json-path/JsonPath","labels_url":"https://api.github.com/repos/json-path/JsonPath/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/json-path/JsonPath/issues/479/comments","events_url":"https://api.github.com/repos/json-path/JsonPath/issues/479/events","html_url":"https://github.com/json-path/JsonPath/issues/479","id":331618032,"node_id":"MDU6SXNzdWUzMzE2MTgwMzI=","number":479,"title":"Implementation of split","user":{"login":"leventyalcin","id":1218537,"node_id":"MDQ6VXNlcjEyMTg1Mzc=","avatar_url":"https://avatars1.githubusercontent.com/u/1218537?v=4","gravatar_id":"","url":"https://api.github.com/users/leventyalcin","html_url":"https://github.com/leventyalcin","followers_url":"https://api.github.com/users/leventyalcin/followers","following_url":"https://api.github.com/users/leventyalcin/following{/other_user}","gists_url":"https://api.github.com/users/leventyalcin/gists{/gist_id}","starred_url":"https://api.github.com/users/leventyalcin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leventyalcin/subscriptions","organizations_url":"https://api.github.com/users/leventyalcin/orgs","repos_url":"https://api.github.com/users/leventyalcin/repos","events_url":"https://api.github.com/users/leventyalcin/events{/privacy}","received_events_url":"https://api.github.com/users/leventyalcin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-12T14:40:07Z","updated_at":"2018-06-12T14:40:07Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\n\r\nMy only use case for jsonpath is Kubectl. I always need some of the string processing functions such as split. \r\n\r\nFor instance, one of the keys comes with the value like `aws://eu-west-1a/vol-000000` and I need to pipe the command to `awk` or such and strip out the bits I don't need.\r\n\r\nIt would be so nice if I could do something like \r\n\r\n```\r\n{range .items[*]}{.spec.awsElasticBlockStore.volumeID|split(\"/\")|.[-1]} {.spec.claimRef.name} {.spec.claimRef.namespace}{\"\\n\"}{end}\r\n```\r\n"}}
{"actor":{"display_login":"leventyalcin"}}