{"id":18963778,"url":"https://github.com/opensoft/json-streaming-parser","last_synced_at":"2025-04-19T12:37:21.945Z","repository":{"id":140233911,"uuid":"51757092","full_name":"opensoft/json-streaming-parser","owner":"opensoft","description":"PSR-7 json streaming parser","archived":false,"fork":false,"pushed_at":"2019-05-31T16:23:12.000Z","size":18,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-16T05:44:23.591Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opensoft.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}},"created_at":"2016-02-15T13:25:01.000Z","updated_at":"2020-09-08T10:12:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"c70aa969-dcf1-4b39-8164-41b769ce7be0","html_url":"https://github.com/opensoft/json-streaming-parser","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fjson-streaming-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fjson-streaming-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fjson-streaming-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fjson-streaming-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensoft","download_url":"https://codeload.github.com/opensoft/json-streaming-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249694696,"owners_count":21311566,"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-08T14:21:39.572Z","updated_at":"2025-04-19T12:37:21.812Z","avatar_url":"https://github.com/opensoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"PSR7 Streaming JSON Parser\n=========================\n\nThis is a PSR-7 streaming parser for processing large JSON documents. \nBased on cool [php-streaming-json-parser](https://github.com/salsify/jsonstreamingparser). \nOriginal parser was improved to use PSR-7 StreamInterface and now it is a bundle for Symfony2. \nAlso a lot of changes in naming and style. Feel free to address the original documentation because lots of core things are the same.\n\n\nUsage\n-----\n\nTo use the `JsonStreamingParser` you just have to implement the `Opensoft\\JsonStreamingParserBundle\\Listener\\ListenerInterface`. \nThen you pass your listener into the parser. For example:\n\n```php\n$listener = new YourListener();\n//$someStream is an object of class which implements PSR-7 StreamInterface \n//example in src/Opensoft/Tests/Data/Stream.php\n$parser = new \\JsonStreamingParserBundle\\Parser($someStream, $listener); \n$parser-\u003eparse();\n\n```\n\nYour listener will receive events from the streaming parser as it works.\n\nLicense\n-------\n\n[MIT License](http://mit-license.org/) (c) Opensoft.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensoft%2Fjson-streaming-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensoft%2Fjson-streaming-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensoft%2Fjson-streaming-parser/lists"}