{"id":20466052,"url":"https://github.com/wheely/bunnyhop","last_synced_at":"2026-05-09T16:48:08.564Z","repository":{"id":36657013,"uuid":"40963333","full_name":"wheely/Bunnyhop","owner":"wheely","description":"Simple and clean JSON for Swift","archived":false,"fork":false,"pushed_at":"2017-11-07T12:23:27.000Z","size":142,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-06-04T05:46:05.728Z","etag":null,"topics":["json"],"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/wheely.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":"2015-08-18T09:34:59.000Z","updated_at":"2017-03-20T20:47:38.000Z","dependencies_parsed_at":"2022-09-08T21:12:14.463Z","dependency_job_id":null,"html_url":"https://github.com/wheely/Bunnyhop","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/wheely/Bunnyhop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheely%2FBunnyhop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheely%2FBunnyhop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheely%2FBunnyhop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheely%2FBunnyhop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wheely","download_url":"https://codeload.github.com/wheely/Bunnyhop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wheely%2FBunnyhop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265246176,"owners_count":23734109,"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":["json"],"created_at":"2024-11-15T13:21:18.347Z","updated_at":"2025-10-06T07:20:03.298Z","avatar_url":"https://github.com/wheely.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bunnyhop\nJSON library for Swift that extensively uses type inference and no extra syntax.\n\n## Hello World\n\n```swift\nstruct Bunny {\n    let name: String?\n    let age: Int\n}\n\nextension Bunny: JSONDecodable, JSONEncodable {\n    init?(JSONValue: JSON) {\n        if let age: Int = JSONValue[\"age\"]?.decode() {\n            self.init(name: JSONValue[\"name\"]?.decode(), age: age)\n        } else {\n            return nil\n        }\n    }\n    \n    var JSONValue: JSON {\n        return [\"name\": name, \"age\": age]\n    }\n}\n\n// Encoding\nlet spikeJSON: JSON = [\"name\": \"Spike\", \"age\": 1]\nlet spike: Bunny? = spikeJSON.decode() // {name \"Spike\", age 1}\n\n// Decoding\nspikeJSON == JSON(spike!) // true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwheely%2Fbunnyhop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwheely%2Fbunnyhop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwheely%2Fbunnyhop/lists"}