{"id":17172893,"url":"https://github.com/20tab/depthnsdictionary","last_synced_at":"2025-03-24T20:22:50.513Z","repository":{"id":63901403,"uuid":"109832328","full_name":"20tab/DepthNSDictionary","owner":"20tab","description":"Extension to navigate a nested dictionary using separator to search nested keys in a recursive implementation","archived":false,"fork":false,"pushed_at":"2017-11-07T14:02:46.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-01T22:33:09.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/20tab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-07T12:24:12.000Z","updated_at":"2021-05-21T08:12:44.000Z","dependencies_parsed_at":"2023-01-14T12:45:16.621Z","dependency_job_id":null,"html_url":"https://github.com/20tab/DepthNSDictionary","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2FDepthNSDictionary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2FDepthNSDictionary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2FDepthNSDictionary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2FDepthNSDictionary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/20tab","download_url":"https://codeload.github.com/20tab/DepthNSDictionary/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245344443,"owners_count":20599949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T23:48:40.948Z","updated_at":"2025-03-24T20:22:50.477Z","avatar_url":"https://github.com/20tab.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DepthNSDictionary\n\nExtension to navigate a nested dictionary using separator to search nested keys in a recursive implementation\n\n## Usage\n\n```swift\nlet nested_dict: NSDictionary = [\"a\": 1, \"b\": [\"c\": 2, \"d\": 3], \"e\": 5]\n\nlet param_a = nested_dict.dfs(forKey: \"a\") as! Int\nlet param_d = nested_dict.dfs(forKey: \"b__d\") as! Int\nlet isNil = nested_dict.dfs(forKey: \"dog__cat\") // it's nil\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20tab%2Fdepthnsdictionary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F20tab%2Fdepthnsdictionary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20tab%2Fdepthnsdictionary/lists"}