{"id":18116570,"url":"https://github.com/kflorence/jquery-deserialize","last_synced_at":"2025-04-05T03:12:52.765Z","repository":{"id":57282065,"uuid":"1642324","full_name":"kflorence/jquery-deserialize","owner":"kflorence","description":"Decodes serialized form data and populates a form with that data.","archived":false,"fork":false,"pushed_at":"2021-08-27T04:06:15.000Z","size":158,"stargazers_count":186,"open_issues_count":5,"forks_count":58,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-29T02:09:11.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://kflorence.github.com/jquery-deserialize/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kflorence.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license-gpl","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-20T20:14:33.000Z","updated_at":"2025-03-05T16:30:15.000Z","dependencies_parsed_at":"2022-08-31T00:02:00.247Z","dependency_job_id":null,"html_url":"https://github.com/kflorence/jquery-deserialize","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kflorence%2Fjquery-deserialize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kflorence%2Fjquery-deserialize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kflorence%2Fjquery-deserialize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kflorence%2Fjquery-deserialize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kflorence","download_url":"https://codeload.github.com/kflorence/jquery-deserialize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280272,"owners_count":20912967,"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-11-01T04:12:06.682Z","updated_at":"2025-04-05T03:12:52.749Z","avatar_url":"https://github.com/kflorence.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery.deserialize\n\n    $(\"form\").deserialize(data[, options]);\n\nDecodes serialized form data and populates the form with that data. This method works upon text strings in standard URL-encoded notation, arrays containing objects of name/value pairs or objects containing name/value pairs. Thus, the plugin is compatibile with the data collected using the following methods:\n\n* [jQuery.serialize()](http://api.jquery.com/serialize)\n* [jQuery.serializeArray()](http://api.jquery.com/serializeArray)\n* [jQuery.serializeObject()](http://benalman.com/projects/jquery-misc-plugins/#serializeobject) (unofficial)\n\n## Install\n\nDownload as [NPM](http://npmjs.org) module:\n\n    npm install jquery-deserialize\n\nDownload as [Bower](http://bower.io) component:\n\n    bower install jquery-deserialize\n\n## Example\n\nPopulate a form on page load using query string parameters:\n\n```javascript\njQuery(function( $ ) {\n    $( 'form' ).deserialize( location.search.substr( 1 ) );\n});\n```\n\n## Arguments\n\nThe plugin accepts two arguments: _data_ and _options_, the latter being optional. Passing the _complete()_ function as the second argument to this plugin is also supported.\n\n* **data** _String_, _Array_, _Object_ A serialized (and/or encoded) String, an Array of objects containing name/value pairs, or an object of name/value pairs.\n* **options** _Object_ An object of key/value pairs that configure the plugin.\n    *    **change** _Function_ Called for every changed input value.\n    *    **complete** _Function_ Called when all of the inputs have been updated.\n\t*    **filter** _String|Function|Element|jQuery_ A custom filter to identify inputs to deserialize. By default, all inputs that are not disabled will be deserialized (this matches the behavior of serialization).\n\n## Requirements\n\njQuery.deserialize requires:\n\n* jQuery version 1.4.3+ ([A patch is available](https://github.com/kflorence/misc-js/raw/master/jquery/patches/jquery.type-patch.js) for versions 1.2+).\n\n## License\n\nCopyright (c) Kyle Florence  \njQuery.deserialize is dual licensed under MIT and GPLv2 licenses.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkflorence%2Fjquery-deserialize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkflorence%2Fjquery-deserialize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkflorence%2Fjquery-deserialize/lists"}