{"id":49668499,"url":"https://github.com/leptos-null/codingpathvisualizer","last_synced_at":"2026-05-06T18:06:51.337Z","repository":{"id":353870066,"uuid":"1203040802","full_name":"leptos-null/CodingPathVisualizer","owner":"leptos-null","description":"A website to visualize Swift DecodingError for a JSON string","archived":false,"fork":false,"pushed_at":"2026-04-25T23:55:47.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-26T01:22:57.956Z","etag":null,"topics":["decodingerror","swift-decoding","swift-json","tools"],"latest_commit_sha":null,"homepage":"https://leptos-null.github.io/CodingPathVisualizer/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leptos-null.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-06T16:58:35.000Z","updated_at":"2026-04-25T23:55:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/leptos-null/CodingPathVisualizer","commit_stats":null,"previous_names":["leptos-null/codingpathvisualizer"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/leptos-null/CodingPathVisualizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leptos-null%2FCodingPathVisualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leptos-null%2FCodingPathVisualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leptos-null%2FCodingPathVisualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leptos-null%2FCodingPathVisualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leptos-null","download_url":"https://codeload.github.com/leptos-null/CodingPathVisualizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leptos-null%2FCodingPathVisualizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32705692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"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":["decodingerror","swift-decoding","swift-json","tools"],"created_at":"2026-05-06T18:06:50.578Z","updated_at":"2026-05-06T18:06:51.332Z","avatar_url":"https://github.com/leptos-null.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodingPath Visualizer\n\nPaste JSON and a Swift `DecodingError` string, and see exactly which node in the JSON tree caused the failure.\n\n## Usage\n\n1. Paste your JSON payload into the **JSON** field.\n2. Paste the output of `String(describing: error)` for a `DecodingError` into the **DecodingError** field.\n3. The tree view highlights the node at the error's `codingPath`. For `keyNotFound` errors, the missing key is shown as a ghost entry.\n\nClick any of the built-in examples to see it in action.\n\n### Supported error cases\n\n| Case | What it highlights |\n|---|---|\n| `typeMismatch` | The value that had the wrong type |\n| `valueNotFound` | The `null` where a value was expected |\n| `keyNotFound` | The parent object, with the missing key shown inline |\n| `dataCorrupted` | The value that couldn't be parsed |\n\n## Development\n\nNo build step required. Serve `site/` with any static server:\n\n```sh\npython3 -m http.server -d site\n```\n\n### Run tests\n\n```sh\nbun tests/run.js\n```\n\nRequires [Bun](\u003chttps://bun.sh\u003e) (Node's `fetch` doesn't support `file://` URLs).\nTests can also be run in the browser by opening `tests/index.html` through a local server.\n\n### Regenerate fixtures\n\nThe `fixtures/` directory is a Swift Package that produces real `DecodingError` strings by decoding intentionally malformed JSON. To regenerate:\n\n```sh\ncd fixtures \u0026\u0026 swift run Fixtures ../site/fixtures\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleptos-null%2Fcodingpathvisualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleptos-null%2Fcodingpathvisualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleptos-null%2Fcodingpathvisualizer/lists"}