Title: Add findFirst utility method · Issue #26 · JavaWebStack/abstract-data · GitHub
Open Graph Title: Add findFirst utility method · Issue #26 · JavaWebStack/abstract-data
X Title: Add findFirst utility method · Issue #26 · JavaWebStack/abstract-data
Description: Is your feature request related to a problem? Please describe. When you want to find a value just by the key, but don't care about the structure, you most likely write a recursive method to do that for you. So I think it would be good to...
Open Graph Description: Is your feature request related to a problem? Please describe. When you want to find a value just by the key, but don't care about the structure, you most likely write a recursive method to do that...
X Description: Is your feature request related to a problem? Please describe. When you want to find a value just by the key, but don't care about the structure, you most likely write a recursive method to do ...
Opengraph URL: https://github.com/JavaWebStack/abstract-data/issues/26
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add findFirst utility method","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nWhen you want to find a value just by the key, but don't care about the structure, you most likely write a recursive method to do that for you. So I think it would be good to include this utility method into the project.\r\n\r\n**Describe the solution you'd like**\r\nBasically a recursive method for both `AbstractObject` and `AbstractArray`.\r\n`AbstractElement findFirst(String key)`\r\nThe method should be on AbstractArray as well, because an AbstractArray could contain objects which contain the key I want to search for.\r\n","author":{"url":"https://github.com/x7airworker","@type":"Person","name":"x7airworker"},"datePublished":"2023-04-20T09:22:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/26/abstract-data/issues/26"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:84821e8a-e001-9b46-4231-8a6810f27c15 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0A6:11315C:1B8FF21:24AA7CC:697D3088 |
| html-safe-nonce | 71a9a3696bdefc765f7414b3702b69965bbff58dba7fc71fdd68ee3dcadafed8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEE2OjExMzE1QzoxQjhGRjIxOjI0QUE3Q0M6Njk3RDMwODgiLCJ2aXNpdG9yX2lkIjoiNzMxMDkxNjQ5ODgyMzA0NjQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 58c8a317775829946dad789fb1affa259a464d88bc3c84c3ab85c15dd3854c46 |
| hovercard-subject-tag | issue:1676341108 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaWebStack/abstract-data/26/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c46f3fb6d751811739e36fbadd68a0898565415b9698e97bbe26e768df89645b/JavaWebStack/abstract-data/issues/26 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c46f3fb6d751811739e36fbadd68a0898565415b9698e97bbe26e768df89645b/JavaWebStack/abstract-data/issues/26 |
| og:image:alt | Is your feature request related to a problem? Please describe. When you want to find a value just by the key, but don't care about the structure, you most likely write a recursive method to do that... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | x7airworker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 947d30920225f8abb17692477afd5992252045b901780d1bc8fa47c03b5fde64 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaWebStack/abstract-data git https://github.com/JavaWebStack/abstract-data.git |
| octolytics-dimension-user_id | 73674659 |
| octolytics-dimension-user_login | JavaWebStack |
| octolytics-dimension-repository_id | 311194306 |
| octolytics-dimension-repository_nwo | JavaWebStack/abstract-data |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 311194306 |
| octolytics-dimension-repository_network_root_nwo | JavaWebStack/abstract-data |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 92fcc0e25bb4da7fe9a458840cb7f3cafa272eb8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width