{"id":32146707,"url":"https://github.com/asoderman/jsondecoder","last_synced_at":"2026-02-18T22:01:26.638Z","repository":{"id":56916484,"uuid":"110636835","full_name":"asoderman/JSONDecoder","owner":"asoderman","description":"Simple JSON decoder written in swift","archived":false,"fork":false,"pushed_at":"2017-11-28T23:01:10.000Z","size":36,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-01T04:16:52.250Z","etag":null,"topics":["json","parser","parsing","parsing-library","swift"],"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/asoderman.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-14T03:42:01.000Z","updated_at":"2020-10-13T19:21:16.000Z","dependencies_parsed_at":"2022-08-20T21:20:24.920Z","dependency_job_id":null,"html_url":"https://github.com/asoderman/JSONDecoder","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/asoderman/JSONDecoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asoderman%2FJSONDecoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asoderman%2FJSONDecoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asoderman%2FJSONDecoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asoderman%2FJSONDecoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asoderman","download_url":"https://codeload.github.com/asoderman/JSONDecoder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asoderman%2FJSONDecoder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29596329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T20:59:56.587Z","status":"ssl_error","status_checked_at":"2026-02-18T20:58:41.434Z","response_time":162,"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":["json","parser","parsing","parsing-library","swift"],"created_at":"2025-10-21T08:23:14.053Z","updated_at":"2026-02-18T22:01:26.618Z","avatar_url":"https://github.com/asoderman.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple JSON Parser \nWritten in swift. [![Build Status](https://travis-ci.org/asoderman/JSONDecoder.svg?branch=master)](https://travis-ci.org/asoderman/JSONDecoder)\n\n### Installation:\nUsing SPM (in your Package.swift):\n```swift\nlet package = Package(\n\tname: \"NameOfYourProject\",\n\tdependencies: [\n\t\t.package(url: \"https://github.com/asoderman/JSONDecoder.git\", from: \"0.1.5\")\n\t]\n)\n```\nthen\n```\nswift package resolve\n```\n\n### Usage:\nQuickstart\n```swift\n\tlet j = try! JSONParser(text: JSONTEXT).flatten()\n\n\tlet name = j[\"name\"] as! String\n\tlet id = j[\"id\"] as! Int\n```\n\nError handling\n```swift\n\tdo { \n\t\tlet j = try JSONParser(text: BADJSON).flatten()\n\n\t\tlet name = j[\"name\"] as! String\n\t\tlet id = j[\"id\"] as! Int\n\t} catch {\n\t\t// Do something\n\t\t}\n\t}\n```\n\n### To work on this library:\n1. Fork this repo on github.\n2. Create a local copy of your repo.\n3. ```swift package generate-xcodeproj ```\n4. Submit pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasoderman%2Fjsondecoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasoderman%2Fjsondecoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasoderman%2Fjsondecoder/lists"}