{"id":20854026,"url":"https://github.com/zephyrpersonal/safe-jsonparser","last_synced_at":"2026-04-24T06:32:25.638Z","repository":{"id":34995149,"uuid":"194780733","full_name":"zephyrpersonal/safe-jsonparser","owner":"zephyrpersonal","description":"safe json parse","archived":false,"fork":false,"pushed_at":"2023-01-04T02:51:32.000Z","size":686,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-27T19:07:24.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zephyrpersonal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-02T03:20:52.000Z","updated_at":"2019-07-02T04:12:39.000Z","dependencies_parsed_at":"2023-01-15T11:45:47.760Z","dependency_job_id":null,"html_url":"https://github.com/zephyrpersonal/safe-jsonparser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zephyrpersonal/safe-jsonparser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephyrpersonal%2Fsafe-jsonparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephyrpersonal%2Fsafe-jsonparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephyrpersonal%2Fsafe-jsonparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephyrpersonal%2Fsafe-jsonparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zephyrpersonal","download_url":"https://codeload.github.com/zephyrpersonal/safe-jsonparser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephyrpersonal%2Fsafe-jsonparser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32212805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"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":[],"created_at":"2024-11-18T03:24:09.290Z","updated_at":"2026-04-24T06:32:25.620Z","avatar_url":"https://github.com/zephyrpersonal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SAFE-JSON-PARSER\n\n## Install\n\n```bash\nyarn add safe-jsonparser\n```\n\n## Usage\n\n```js\nimport safeJsonParse from 'safe-jsonparser'\n//or\nconst safeJsonParse = require('safeJsonParse')\n\n// valid json string\nsafeJsonParse('{\"a\":1}') // return {a: 1}\n\n// invalid json string\nsafeJsonParse('{\"a:1}') // return undefined\n\n// invalid json string with error callback\nsafeJsonParse('{\"a\":1}', console.error) // return undefined and log error\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephyrpersonal%2Fsafe-jsonparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzephyrpersonal%2Fsafe-jsonparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephyrpersonal%2Fsafe-jsonparser/lists"}