{"id":18812437,"url":"https://github.com/fumito-ito/swiftyjsonlines","last_synced_at":"2026-02-27T06:04:18.719Z","repository":{"id":259451384,"uuid":"870167692","full_name":"fumito-ito/SwiftyJSONLines","owner":"fumito-ito","description":"The better way to deal with JSONLines data in Swift.","archived":false,"fork":false,"pushed_at":"2025-03-06T12:51:42.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-02T04:49:03.638Z","etag":null,"topics":["jsonl","jsonlines","swift","swift6"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fumito-ito.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-09T15:00:21.000Z","updated_at":"2026-01-10T12:44:14.000Z","dependencies_parsed_at":"2024-10-25T15:27:41.973Z","dependency_job_id":"9abf6844-461f-4a89-8624-d61e3a1601f8","html_url":"https://github.com/fumito-ito/SwiftyJSONLines","commit_stats":null,"previous_names":["fumito-ito/swiftyjsonlines"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/fumito-ito/SwiftyJSONLines","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumito-ito%2FSwiftyJSONLines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumito-ito%2FSwiftyJSONLines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumito-ito%2FSwiftyJSONLines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumito-ito%2FSwiftyJSONLines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fumito-ito","download_url":"https://codeload.github.com/fumito-ito/SwiftyJSONLines/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fumito-ito%2FSwiftyJSONLines/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29887009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T05:38:26.446Z","status":"ssl_error","status_checked_at":"2026-02-27T05:38:25.235Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["jsonl","jsonlines","swift","swift6"],"created_at":"2024-11-07T23:33:02.007Z","updated_at":"2026-02-27T06:04:18.693Z","avatar_url":"https://github.com/fumito-ito.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftyJSONLines\n\nThe better way to deal with JSONLines data in Swift.\n\n## Installation\n\n### Swift Package Manager\n\n```swift\nlet package = Package(\n    name: \"MyPackage\",\n    products: [...],\n    targets: [\n        .target(\n            \"YouAppModule\",\n            dependencies: [\n                .product(name: \"SwiftyJSONLines\", package: \"SwiftyJSONLines\")\n            ]\n        )\n    ],\n    dependencies: [\n        .package(url: \"https://github.com/fumito-ito/SwiftyJSONLines.git\", .upToNextMajor(from: \"0.0.1\"))\n    ]\n)\n```\n\n## Usage\n\n```swift\n// You can parse and iterate json objects from jsonl format string.\nlet jsonlines = try JSONLines(jsonString)\nfor json in jsonlines.toDictionaries() {\n    print(json) // =\u003e [String: Any] object\n}\n\n// Ofcourse, you can get json lines from data,\nlet jsonlinesFromData = try JSONLines(data: jsonStringData)\n\n// local file...\nlet jsonlinesFromLocalPath = try JSONLines(contentsOfFile: \"/path/to/example.jsonl\")\n\n// and remote file\nlet jsonlinesFromRemoteFile = try await JSONLines(contensOf: URL(string: \"https://example.com/path/to/example.jsonl\"))\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffumito-ito%2Fswiftyjsonlines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffumito-ito%2Fswiftyjsonlines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffumito-ito%2Fswiftyjsonlines/lists"}