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: github.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:d30f18bf-ea53-27ce-be49-d84073854065 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8306:29DF7:36569D5:471CDE9:697D8527 |
| html-safe-nonce | 403879bd0bfe076ebfd56284323e1913fe2449d1e2d3f92a65010c04fec10ab4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzA2OjI5REY3OjM2NTY5RDU6NDcxQ0RFOTo2OTdEODUyNyIsInZpc2l0b3JfaWQiOiIzMzkyMDc0Mjg2MzQ3NjgzMTExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e4ae463e0d6653c702939a8b737fdad2a7be7e1a5a3ff45ccc113fc31a554872 |
| 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 | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width