{"id":15025407,"url":"https://github.com/steeinru/json-data","last_synced_at":"2026-02-26T17:05:48.719Z","repository":{"id":62543269,"uuid":"79354521","full_name":"SteeinRu/json-data","owner":"SteeinRu","description":"This library is an object-oriented interface that works with data in JSON format","archived":false,"fork":false,"pushed_at":"2017-01-22T00:43:42.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-14T23:02:36.559Z","etag":null,"topics":["json","json-format","json-objects","oriented-interface","php-7"],"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/SteeinRu.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-01-18T15:37:52.000Z","updated_at":"2017-01-18T17:35:56.000Z","dependencies_parsed_at":"2022-11-02T17:30:34.581Z","dependency_job_id":null,"html_url":"https://github.com/SteeinRu/json-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SteeinRu/json-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteeinRu%2Fjson-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteeinRu%2Fjson-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteeinRu%2Fjson-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteeinRu%2Fjson-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SteeinRu","download_url":"https://codeload.github.com/SteeinRu/json-data/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SteeinRu%2Fjson-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281713535,"owners_count":26548732,"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","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","json-format","json-objects","oriented-interface","php-7"],"created_at":"2024-09-24T20:02:17.976Z","updated_at":"2025-10-29T23:03:21.270Z","avatar_url":"https://github.com/SteeinRu.png","language":"PHP","readme":"## SteeinJSON Data\n\nThis library is an object-oriented interface that works with data in JSON format\n\n### Usage\n\n#### Example 1\n\n\n```php\n\nuse SteeinJSON\\JSON;\n\n$myJson = \"\n{\n  \"steein\":\n  {\n    \"item\":\"value\"\n  }\n}\n\";\n$object = new JSON($myJson);\n```\n\n#### Example 2\n```php\n\nuse SteeinJSON\\JSON;\n\n$object = new JSON();\n$object-\u003etext-\u003eitem = 'value';\n$object-\u003etext-\u003eitem-\u003eone = 'value2';\n\n//By default, simply output through \"echo\"\necho $object;\n\n//At the request is allowed to maintain in a JSON file\n$file = __DIR__.'/json/item.json';\n$object-\u003esave($file);\n\n```\n### Working with existing objects\n\nIf you would like to work with an existing object, rather than parsing a string, pass this object as the third constructor argument:\n\n```php\nuse SteeinJSON\\JSON;\n\n$object = new JSON(null, null, $customJSON);\n\n\n\n///Validating Against a Schema\n$object-\u003echeck($customSchema, [$extraSchemaURI =\u003e $extraSchemaData]);\n\n```\n\n\n\n\n\n#### Author: Shamsudin Serderov\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteeinru%2Fjson-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteeinru%2Fjson-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteeinru%2Fjson-data/lists"}