{"id":20312861,"url":"https://github.com/robertsaupe/php-json","last_synced_at":"2026-05-12T09:32:10.274Z","repository":{"id":57697810,"uuid":"497351238","full_name":"robertsaupe/php-json","owner":"robertsaupe","description":"php library for json and jsonc parsing","archived":false,"fork":false,"pushed_at":"2024-02-21T10:17:52.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T12:56:36.229Z","etag":null,"topics":["json","jsonc","library","parsing","php","php8"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/robertsaupe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"robertsaupe","patreon":"robertsaupe","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.paypal.com/donate?hosted_button_id=SQMRNY8YVPCZQ","https://www.amazon.de/ref=as_li_ss_tl?ie=UTF8\u0026linkCode=ll2\u0026tag=robertsaupe-21\u0026linkId=b79bc86cee906816af515980cb1db95e\u0026language=de_DE"]}},"created_at":"2022-05-28T15:07:52.000Z","updated_at":"2022-05-29T14:52:52.000Z","dependencies_parsed_at":"2025-03-04T08:38:57.890Z","dependency_job_id":null,"html_url":"https://github.com/robertsaupe/php-json","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/robertsaupe/php-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertsaupe%2Fphp-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertsaupe%2Fphp-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertsaupe%2Fphp-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertsaupe%2Fphp-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertsaupe","download_url":"https://codeload.github.com/robertsaupe/php-json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertsaupe%2Fphp-json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32932381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"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","jsonc","library","parsing","php","php8"],"created_at":"2024-11-14T18:07:49.458Z","updated_at":"2026-05-12T09:32:10.236Z","avatar_url":"https://github.com/robertsaupe.png","language":"PHP","funding_links":["https://github.com/sponsors/robertsaupe","https://patreon.com/robertsaupe","https://www.paypal.com/donate?hosted_button_id=SQMRNY8YVPCZQ","https://www.amazon.de/ref=as_li_ss_tl?ie=UTF8\u0026linkCode=ll2\u0026tag=robertsaupe-21\u0026linkId=b79bc86cee906816af515980cb1db95e\u0026language=de_DE","https://www.patreon.com/robertsaupe"],"categories":[],"sub_categories":[],"readme":"# php-json\n\n[![Minimum PHP version: 8.2](https://img.shields.io/badge/php-8.2%2B-blue.svg?color=blue\u0026style=for-the-badge)](https://packagist.org/packages/robertsaupe/php-json)\n[![Packagist Version](https://img.shields.io/packagist/v/robertsaupe/php-json?color=blue\u0026style=for-the-badge)](https://packagist.org/packages/robertsaupe/php-json)\n[![Packagist Downloads](https://img.shields.io/packagist/dt/robertsaupe/php-json?color=blue\u0026style=for-the-badge)](https://packagist.org/packages/robertsaupe/php-json)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)](LICENSE)\n\nphp library for json and jsonc parsing\n\n## Supporting\n\n[GitHub](https://github.com/sponsors/robertsaupe) |\n[Patreon](https://www.patreon.com/robertsaupe) |\n[PayPal](https://www.paypal.com/donate?hosted_button_id=SQMRNY8YVPCZQ) |\n[Amazon](https://www.amazon.de/ref=as_li_ss_tl?ie=UTF8\u0026linkCode=ll2\u0026tag=robertsaupe-21\u0026linkId=b79bc86cee906816af515980cb1db95e\u0026language=de_DE)\n\n## Installing\n\n```sh\ncomposer require robertsaupe/php-json\n```\n\n## Getting started\n\n### Json\n\n```php\nuse robertsaupe\\Json\\Json;\n\n$json = new Json();\nprint_r($json-\u003edecodeFile('path_to_file.json'));\n```\n\n### Jsonc\n\n```php\nuse robertsaupe\\Json\\Jsonc;\n\n$jsonc = new Jsonc();\nprint_r($jsonc-\u003edecodeFile('path_to_file.jsonc'));\n```\n\n## Credits\n\n- [box-project/box](https://github.com/box-project/box) for basic Json parsing\n  - Kevin Herrera \u003ckevin@herrera.io\u003e\n  - Théo Fidry \u003ctheo.fidry@gmail.com\u003e\n\n- Alexander Shostak \u003chttps://stackoverflow.com/a/43439966\u003e for decode commented json\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertsaupe%2Fphp-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertsaupe%2Fphp-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertsaupe%2Fphp-json/lists"}