{"id":16382306,"url":"https://github.com/pingbird/json_stream","last_synced_at":"2026-01-11T13:33:52.047Z","repository":{"id":65748901,"uuid":"598394356","full_name":"pingbird/json_stream","owner":"pingbird","description":"A package for converting objects to JSON asynchronously through a byte stream.","archived":false,"fork":false,"pushed_at":"2023-02-08T00:33:58.000Z","size":8,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T11:12:53.016Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/json_stream","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pingbird.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-02-07T02:28:20.000Z","updated_at":"2024-09-29T08:55:23.000Z","dependencies_parsed_at":"2023-08-09T14:12:11.538Z","dependency_job_id":null,"html_url":"https://github.com/pingbird/json_stream","commit_stats":null,"previous_names":["pingbird/json_stream","pixeltoast/json_stream"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pingbird/json_stream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingbird%2Fjson_stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingbird%2Fjson_stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingbird%2Fjson_stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingbird%2Fjson_stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pingbird","download_url":"https://codeload.github.com/pingbird/json_stream/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pingbird%2Fjson_stream/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260470651,"owners_count":23014208,"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-10-11T04:04:55.402Z","updated_at":"2025-10-19T06:38:58.961Z","avatar_url":"https://github.com/pingbird.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json_stream\n\nA package for converting objects to JSON asynchronously through a byte stream.\n\nThis package is useful for encoding extremely large objects that would consume too much memory with a standard\n[JsonEncoder](https://api.dart.dev/dart-convert/JsonEncoder-class.html).\n\nBasic example:\n\n```dart\nimport 'dart:async';\nimport 'dart:io';\n\nimport 'package:json_stream/writer.dart';\n\nFuture\u003cvoid\u003e main() async {\n  await stdout.addStream(\n    JsonStreamWriter.convert({\n      'numbers': Stream.periodic(\n        const Duration(milliseconds: 100),\n            (i) =\u003e '$i',\n      ).take(10),\n      'letters': Stream.periodic(\n        const Duration(milliseconds: 100),\n            (i) =\u003e '${String.fromCharCode(i + 0x61)}',\n      ).take(26),\n    }),\n  );\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingbird%2Fjson_stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpingbird%2Fjson_stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpingbird%2Fjson_stream/lists"}