{"id":20002521,"url":"https://github.com/mirkoschubert/jsonparser","last_synced_at":"2026-05-08T22:35:33.593Z","repository":{"id":34601000,"uuid":"38548842","full_name":"mirkoschubert/jsonparser","owner":"mirkoschubert","description":"A clean and simple Parser to read, write, edit and delete JSON files.","archived":false,"fork":false,"pushed_at":"2015-07-04T22:00:16.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T13:15:18.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/mirkoschubert.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":"2015-07-04T21:57:56.000Z","updated_at":"2018-06-07T06:26:40.000Z","dependencies_parsed_at":"2022-09-14T15:03:06.256Z","dependency_job_id":null,"html_url":"https://github.com/mirkoschubert/jsonparser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirkoschubert%2Fjsonparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirkoschubert%2Fjsonparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirkoschubert%2Fjsonparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirkoschubert%2Fjsonparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mirkoschubert","download_url":"https://codeload.github.com/mirkoschubert/jsonparser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241439864,"owners_count":19963143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-13T05:21:58.040Z","updated_at":"2026-05-08T22:35:28.574Z","avatar_url":"https://github.com/mirkoschubert.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to use the JSONParser Class\n\n## Open or Create a JSON File\n\nThere is an optional language variable for creating multi-language JSON files.\n\n```php\n$json = new JSONParser('filename.json', 'en-en');\n```\n\n## Create a new Entry\n\nThe 'name' variable must be set as an identificator\n\n```php\n$brian = new stdClass();\n$brian-\u003ename = 'brian';\n$brian-\u003ecity = 'memphis';\n$json-\u003eappendEntry($brian);\n```\n\n## Edit an existing Entry\n\n```php\n$brian = selectEntryByName('brian');\nunset($brian-\u003ecity);\n$brian-\u003esurname = 'walker';\n$json-\u003eupdateEntry($brian);\n```\n\n## Delete an Entry\n\n```php\n$json-\u003edeleteEntry('brian');\n```\n\n## Access JSON stream directly\n\nFor API porposes there are two variables:\n\n```php\n$json-\u003estream\n```\n\nFull JSON Stream with language, created and updated dates and status messages.\n\n```php\n$json-\u003edata\n```\n\nData stream to manipulate the JSON data directly.\n\nHave fun!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirkoschubert%2Fjsonparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirkoschubert%2Fjsonparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirkoschubert%2Fjsonparser/lists"}