{"id":13801055,"url":"https://github.com/artemeff/qsp","last_synced_at":"2025-04-05T03:30:49.609Z","repository":{"id":20130261,"uuid":"23400328","full_name":"artemeff/qsp","owner":"artemeff","description":"Enhanced query string parser for Erlang","archived":false,"fork":false,"pushed_at":"2016-10-30T09:57:36.000Z","size":8,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T22:02:06.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","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/artemeff.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}},"created_at":"2014-08-27T18:16:38.000Z","updated_at":"2022-06-21T00:01:39.000Z","dependencies_parsed_at":"2022-07-23T04:46:24.182Z","dependency_job_id":null,"html_url":"https://github.com/artemeff/qsp","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemeff%2Fqsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemeff%2Fqsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemeff%2Fqsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artemeff%2Fqsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artemeff","download_url":"https://codeload.github.com/artemeff/qsp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284911,"owners_count":20913691,"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-08-04T00:01:19.080Z","updated_at":"2025-04-05T03:30:46.864Z","avatar_url":"https://github.com/artemeff.png","language":"Erlang","funding_links":[],"categories":["Text and Numbers"],"sub_categories":[],"readme":"### qsp [![Build Status](https://secure.travis-ci.org/artemeff/qsp.png)](http://travis-ci.org/artemeff/qsp)\n\n---\n\nQSP is enhanced Erlang query string parser, that supports nested arrays, hashes and returns maps. Requires Erlang 17.0 and better. Extracted from [Plug](https://github.com/elixir-lang/plug/blob/master/lib/plug/conn/query.ex).\n\n---\n\n```erlang\n\u003e qsp:decode(\u003c\u003c\"foo=bar\"\u003e\u003e).\n#{\u003c\u003c\"foo\"\u003e\u003e =\u003e \u003c\u003c\"bar\"\u003e\u003e}\n\u003e qsp:decode(\u003c\u003c\"foo[]=bar\u0026foo[]=baz\"\u003e\u003e).\n#{\u003c\u003c\"foo\"\u003e\u003e =\u003e [\u003c\u003c\"bar\"\u003e\u003e,\u003c\u003c\"baz\"\u003e\u003e]}\n\u003e qsp:decode(\u003c\u003c\"foo[bar]=baz\u0026foo[rab]=zab\"\u003e\u003e).\n#{\u003c\u003c\"foo\"\u003e\u003e =\u003e #{\u003c\u003c\"bar\"\u003e\u003e =\u003e \u003c\u003c\"baz\"\u003e\u003e,\u003c\u003c\"rab\"\u003e\u003e =\u003e \u003c\u003c\"zab\"\u003e\u003e}}\n\u003e qsp:decode(\u003c\u003c\"foo[][bar][][baz][]=1\"\u003e\u003e).\n#{\u003c\u003c\"foo\"\u003e\u003e =\u003e [#{\u003c\u003c\"bar\"\u003e\u003e =\u003e [#{\u003c\u003c\"baz\"\u003e\u003e =\u003e [\u003c\u003c\"1\"\u003e\u003e]}]}]}\n\u003e qsp:decode(\u003c\u003c\"foo=1\u0026foo=2\"\u003e\u003e).\n#{\u003c\u003c\"foo\"\u003e\u003e =\u003e \u003c\u003c\"2\"\u003e\u003e}\n```\n\n---\n\n### Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemeff%2Fqsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartemeff%2Fqsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartemeff%2Fqsp/lists"}