{"id":20457732,"url":"https://github.com/chmoore889/isolate_json","last_synced_at":"2025-10-18T05:14:35.599Z","repository":{"id":52287609,"uuid":"332644569","full_name":"chmoore889/isolate_json","owner":"chmoore889","description":"Library for using a long-lived isolate for JSON encoding and decoding.","archived":false,"fork":false,"pushed_at":"2021-08-22T01:28:01.000Z","size":23,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T22:11:29.557Z","etag":null,"topics":["isolate","json"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/isolate_json","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chmoore889.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}},"created_at":"2021-01-25T05:51:18.000Z","updated_at":"2024-01-06T08:15:41.000Z","dependencies_parsed_at":"2022-09-07T04:42:00.888Z","dependency_job_id":null,"html_url":"https://github.com/chmoore889/isolate_json","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmoore889%2Fisolate_json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmoore889%2Fisolate_json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmoore889%2Fisolate_json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmoore889%2Fisolate_json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chmoore889","download_url":"https://codeload.github.com/chmoore889/isolate_json/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248668272,"owners_count":21142628,"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":["isolate","json"],"created_at":"2024-11-15T12:08:55.217Z","updated_at":"2025-10-18T05:14:30.565Z","avatar_url":"https://github.com/chmoore889.png","language":"Dart","readme":"## Introduction\nThis is a library for using a long-lived isolate to encode and decode JSONs.\n\nWhen in a VM it uses isolates. This package is able to support web by falling back to encoding/decoding without isolates on web. This is so that an application using this package does not have to do that check itself.\n\n## Usage\n\nA simple usage example:\n\n```dart\nimport 'package:isolate_json/isolate_json.dart';\n\nFuture\u003cvoid\u003e main() async {\n  await JsonIsolate().startIsolate();\n\n  final json = '{\"name\":\"John\", \"age\":30, \"car\":null}';\n  final output1 = await JsonIsolate().decodeJson(json);\n\n  final output2 = await JsonIsolate().encodeJson({\n    'jsonData': true,\n  });\n\n  final output3 = await JsonIsolate().encodeJson([1, 2, 3]);\n\n  print(output1);\n  print(output2);\n  print(output3);\n\n  JsonIsolate().dispose();\n}\n```\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: https://github.com/chmoore889/isolate_json/issues\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmoore889%2Fisolate_json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchmoore889%2Fisolate_json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmoore889%2Fisolate_json/lists"}