{"id":15561331,"url":"https://github.com/beyova/beyovajson","last_synced_at":"2025-04-23T22:41:02.748Z","repository":{"id":56903717,"uuid":"108643966","full_name":"Beyova/BeyovaJSON","owner":"Beyova","description":"BeyovaJSON allows any json for Coadable","archived":false,"fork":false,"pushed_at":"2025-04-10T09:34:32.000Z","size":31,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T10:49:50.635Z","etag":null,"topics":["codable","json","swift"],"latest_commit_sha":null,"homepage":"","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/Beyova.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-10-28T11:33:45.000Z","updated_at":"2025-04-10T09:35:50.000Z","dependencies_parsed_at":"2022-08-20T18:50:31.764Z","dependency_job_id":null,"html_url":"https://github.com/Beyova/BeyovaJSON","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beyova%2FBeyovaJSON","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beyova%2FBeyovaJSON/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beyova%2FBeyovaJSON/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beyova%2FBeyovaJSON/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Beyova","download_url":"https://codeload.github.com/Beyova/BeyovaJSON/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250528682,"owners_count":21445511,"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":["codable","json","swift"],"created_at":"2024-10-02T16:07:27.794Z","updated_at":"2025-04-23T22:41:02.710Z","avatar_url":"https://github.com/Beyova.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BeyovaJSON\n\n[![Travis CI](https://travis-ci.org/Beyova/BeyovaJSON.svg?branch=master)](https://travis-ci.org/Beyova/BeyovaJSON)\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n![CocoaPods](https://img.shields.io/cocoapods/v/BeyovaJSON.svg)\n![Swift](http://img.shields.io/badge/swift-4.0-brightgreen.svg)\n\nBeyovaJSON allows any json for Coadable in Swift 4.\n\n## Installation\n\n#### CocoaPods\n\n```ruby\npod 'BeyovaJSON'\n```\n\n#### Carthage\n\n```\ngithub \"Beyova/BeyovaJSON\"\n```\n\n## Usage\n\n```swift\nimport BeyovaJSON\n```\n\n#### Codable\n\n`Codable` is added with Xcode 9, iOS 11 and Swift 4.\nIt is used to make your data types encodable and decodable for compatibility with external representations such as JSON.\n\n```swift\nclass Group: Codable {\n\tvar title: String = \"Guardians of the Galaxy\"\n\tvar members: JSON = [[\"name\": \"Star-Lord\"],[\"name\": \"Groot\"],[\"name\": \"Rocket\"]]\n\tvar date: Date = Date()\n}\nlet group = Group()\nlet encoder = JSONEncoder()\nencoder.outputFormatting = .prettyPrinted\nlet data = try! encoder.encode(group)\nprint(String(bytes: data, encoding: .utf8)!)\n```\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyova%2Fbeyovajson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyova%2Fbeyovajson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyova%2Fbeyovajson/lists"}