{"id":32308002,"url":"https://github.com/damphat/json5-dart","last_synced_at":"2026-02-24T14:37:35.114Z","repository":{"id":41877297,"uuid":"304951402","full_name":"damphat/json5-dart","owner":"damphat","description":"JSON5 for dart and flutter","archived":false,"fork":false,"pushed_at":"2025-02-23T14:48:24.000Z","size":50,"stargazers_count":13,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T07:32:27.095Z","etag":null,"topics":["dart","flutter","json5"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/json5","language":"Dart","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/damphat.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-17T19:15:08.000Z","updated_at":"2025-07-29T08:01:27.000Z","dependencies_parsed_at":"2023-11-15T17:38:08.446Z","dependency_job_id":"0be53664-a40e-41b4-a6e3-b989c43a0049","html_url":"https://github.com/damphat/json5-dart","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/damphat/json5-dart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damphat%2Fjson5-dart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damphat%2Fjson5-dart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damphat%2Fjson5-dart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damphat%2Fjson5-dart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damphat","download_url":"https://codeload.github.com/damphat/json5-dart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damphat%2Fjson5-dart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29785753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T10:45:18.109Z","status":"ssl_error","status_checked_at":"2026-02-24T10:45:09.911Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["dart","flutter","json5"],"created_at":"2025-10-23T07:26:01.089Z","updated_at":"2026-02-24T14:37:35.109Z","avatar_url":"https://github.com/damphat.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"## JSON5 for Dart and Flutter\n![Dart CI](https://github.com/damphat/json5-dart/workflows/Dart%20CI/badge.svg)\n\nThis Dart package is a port of [JSON5](https://github.com/json5/json5), originally written in pure JavaScript.\n\nIt follows the same algorithms and specifications as the original JSON5, ensuring identical behavior.\n\nHowever, Dart has different naming conventions—see the example below.\n\n## Usage\n\n```dart\nimport 'package:json5/json5.dart';\n\nvoid main() {\n  var obj = JSON5.parse('''\n      {  \n        /* Comment block */  \n        name: { first: \"Phat\" },  \n        lang: [\"C++\", \"Dart\", \"Kotlin\"],  \n        nums: [NaN, Infinity, -Infinity]  \n      } // End object\n  ''');\n\n  var compact = JSON5.stringify(obj);\n  print(compact);\n\n  var pretty = JSON5.stringify(obj, space: 2);\n  print(pretty);\n}\n```\n\n## References\n- [JSON5 Official Site](https://json5.org/)\n- [JSON5 JavaScript Implementation](https://github.com/json5/json5)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamphat%2Fjson5-dart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamphat%2Fjson5-dart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamphat%2Fjson5-dart/lists"}