{"id":21643485,"url":"https://github.com/evaisse/dart_http_query_string","last_synced_at":"2026-02-16T19:40:02.087Z","repository":{"id":62458724,"uuid":"487830905","full_name":"evaisse/dart_http_query_string","owner":"evaisse","description":"A RFC1738 / RFC1867 compliant query string encoder and decoder, compatible with the PHP \u0026 jQuery traditional syntax for nested array/objects, and multidimensional arrays","archived":false,"fork":false,"pushed_at":"2022-10-19T09:56:40.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T17:11:33.957Z","etag":null,"topics":["dart","http","json"],"latest_commit_sha":null,"homepage":"","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/evaisse.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":"2022-05-02T12:10:17.000Z","updated_at":"2024-05-26T11:01:04.000Z","dependencies_parsed_at":"2022-11-02T00:32:04.191Z","dependency_job_id":null,"html_url":"https://github.com/evaisse/dart_http_query_string","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/evaisse/dart_http_query_string","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evaisse%2Fdart_http_query_string","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evaisse%2Fdart_http_query_string/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evaisse%2Fdart_http_query_string/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evaisse%2Fdart_http_query_string/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evaisse","download_url":"https://codeload.github.com/evaisse/dart_http_query_string/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evaisse%2Fdart_http_query_string/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29516176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T18:37:19.720Z","status":"ssl_error","status_checked_at":"2026-02-16T18:36:46.920Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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","http","json"],"created_at":"2024-11-25T05:34:37.522Z","updated_at":"2026-02-16T19:40:02.061Z","avatar_url":"https://github.com/evaisse.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http_query_string\n\n[![Build status](https://github.com/evaisse/dart_http_query_string/actions/workflows/dart.yml/badge.svg)](https://github.com/evaisse/dart_http_query_string/actions)\n[![codecov](https://codecov.io/gh/evaisse/dart_http_query_string/branch/master/graph/badge.svg?token=MHN3KFE7QE)](https://codecov.io/gh/evaisse/dart_http_query_string)\n\nA RFC1867 compliant query string encoder and decoder, compatible with the PHP \u0026 jQuery traditional syntax for nested array/objects.\n\nInspired by : \n\n - PHP function [`http_build_query()`](https://www.php.net/manual/en/function.http-build-query.php) \u0026 [`parse_str()`](https://www.php.net/manual/en/function.parse-str.php)\n - nodejs [`qs` package](https://www.npmjs.com/package/qs)\n\n\n```dart\nimport 'package:http_query_string/http_query_string.dart';\n\nvoid main() {\n  var decoder = Decoder();\n  print(decoder.convert(\"foo=bar\u0026list%5B0%5D=bar\u0026list%5B1%5D=foo\u0026list%5B2%5D%5Bkey%5D=value\"));\n}\n```\n\nWill print out something like that \n\n```json\n{\n  \"foo\": \"bar\",\n  \"list\": [\n    \"bar\",\n    \"foo\",\n    {\"key\": \"value\"}\n  ]\n}\n```\n\nAnd vice versa : \n\n```dart\nimport 'package:http_query_string/http_query_string.dart';\n\nvoid main() {\n  print(Encoder().convert(\u003cString, dynamic\u003e{\n      \"encode\": \"bar with space\",\n      \"int\": 42,\n      \"float\": 42.367,\n      \"negative\": -23,\n      \"true\": true,\n      \"false\": false,\n      \"null\": null,\n      \"set\": {\"a\", \"b\"},\n      \"list\": [\n          \"bar\",\n          \"foo\",\n      ],\n      \"map\": {\n        \"key\": \"value\"\n      },\n  }));\n}\n```\n\nWill output \n\n````\n'encode=bar+with+space\u0026int=42\u0026float=42.367\u0026negative=-23\u0026true=1\u0026false=0\u0026set%5B0%5D=a\u0026set%5B1%5D=b\u0026list%5B0%5D=bar\u0026list%5B1%5D=foo\u0026map%5Bkey%5D=value'\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevaisse%2Fdart_http_query_string","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevaisse%2Fdart_http_query_string","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevaisse%2Fdart_http_query_string/lists"}