Side navigation
#8980 closed feature (wontfix)
Opened April 26, 2011 06:30PM UTC
Closed June 07, 2011 06:53PM UTC
Feature: jQuery.deserialize()
Reported by: | kflorence | Owned by: | kflorence |
---|---|---|---|
Priority: | low | Milestone: | 1.7 |
Component: | ajax | Version: | 1.6b1 |
Keywords: | needsreview,1.7-discuss | Cc: | |
Blocked by: | Blocking: |
Description
There exists methods to serialize data from a form into a URL-encoded string or an array of objects, but there are no methods for populating a form with that data. The following is a proposed implementation of jQuery.deserialize which handles these cases (in addition to JSON objects, as created by Ben Alman's jQuery.serializeObject method).
I would be happy to integrate this into the jQuery repository if it is desired.
Attachments (0)
Change History (12)
Changed April 26, 2011 06:45PM UTC by comment:1
component: | unfiled → ajax |
---|---|
owner: | → kflorence |
priority: | undecided → low |
status: | new → pending |
Changed April 26, 2011 06:48PM UTC by comment:2
_comment0: | Replying to [comment:1 rwaldron]: \ > Have a look at: http://docs.jquery.com/JQuery_Core_Style_Guidelines \ \ Thanks Richard. I will make sure the plugin complies with the style guide. → 1303846108218474 |
---|---|
_comment1: | Replying to [comment:1 rwaldron]: \ > Have a look at: http://docs.jquery.com/JQuery_Core_Style_Guidelines \ \ Thanks Richard. I will make sure the plugin complies with the style guide. \ \ EDIT: Source code updated to meet style guides. → 1304008889012977 |
status: | pending → new |
Replying to [comment:1 rwaldron]:
Have a look at: http://docs.jquery.com/JQuery_Core_Style_Guidelines
Thanks. I will make sure the plugin complies with the style guide.
EDIT: Source code updated to meet style guides.
Changed May 02, 2011 02:31AM UTC by comment:3
keywords: | → needsreview |
---|---|
status: | new → open |
I think this is best implemented as a plugin.
Changed May 22, 2011 07:27PM UTC by comment:4
keywords: | needsreview → needsreview,1.7-discuss |
---|
Nominating ticket for 1.7 discussion.
Changed May 22, 2011 09:08PM UTC by comment:5
I believe Ben has recently done some significant work on a deserialize() implementation
Changed May 23, 2011 12:43AM UTC by comment:6
description: | There exists methods to serialize data from a form into a URL-encoded string or an array of objects, but there are no methods for populating a form with that data. The following is a proposed implementation of jQuery.deserialize which handles these cases (in addition to JSON objects, as created by Ben Alman's jQuery.serializeObject method). \ \ * [https://github.com/kflorence/jquery-deserialize Source Code] \ * [http://kflorence.github.com/jquery-deserialize/examples/ Live Examples] \ * [http://kflorence.github.com/jquery-deserialize/tests/ Unit Tests] \ \ I would be happy to integrate this into the jQuery repository if it is desired. → There exists methods to serialize data from a form into a URL-encoded string or an array of objects, but there are no methods for populating a form with that data. The following is a proposed implementation of jQuery.deserialize which handles these cases (in addition to JSON objects, as created by Ben Alman's jQuery.serializeObject method).\ \ * [https://github.com/kflorence/jquery-deserialize Source Code]\ * [http://kflorence.github.com/jquery-deserialize/examples/ Live Examples]\ * [http://kflorence.github.com/jquery-deserialize/tests/ Unit Tests]\ \ I would be happy to integrate this into the jQuery repository if it is desired. |
---|
-1, plugin
Changed May 23, 2011 04:36AM UTC by comment:7
-1, plugin
Changed May 24, 2011 09:43PM UTC by comment:8
description: | There exists methods to serialize data from a form into a URL-encoded string or an array of objects, but there are no methods for populating a form with that data. The following is a proposed implementation of jQuery.deserialize which handles these cases (in addition to JSON objects, as created by Ben Alman's jQuery.serializeObject method).\ \ * [https://github.com/kflorence/jquery-deserialize Source Code]\ * [http://kflorence.github.com/jquery-deserialize/examples/ Live Examples]\ * [http://kflorence.github.com/jquery-deserialize/tests/ Unit Tests]\ \ I would be happy to integrate this into the jQuery repository if it is desired. → There exists methods to serialize data from a form into a URL-encoded string or an array of objects, but there are no methods for populating a form with that data. The following is a proposed implementation of jQuery.deserialize which handles these cases (in addition to JSON objects, as created by Ben Alman's jQuery.serializeObject method). \ \ * [https://github.com/kflorence/jquery-deserialize Source Code] \ * [http://kflorence.github.com/jquery-deserialize/examples/ Live Examples] \ * [http://kflorence.github.com/jquery-deserialize/tests/ Unit Tests] \ \ I would be happy to integrate this into the jQuery repository if it is desired. |
---|
-1, If we don't need it in core, it should be a plugin.
Changed June 03, 2011 01:58PM UTC by comment:9
description: | There exists methods to serialize data from a form into a URL-encoded string or an array of objects, but there are no methods for populating a form with that data. The following is a proposed implementation of jQuery.deserialize which handles these cases (in addition to JSON objects, as created by Ben Alman's jQuery.serializeObject method). \ \ * [https://github.com/kflorence/jquery-deserialize Source Code] \ * [http://kflorence.github.com/jquery-deserialize/examples/ Live Examples] \ * [http://kflorence.github.com/jquery-deserialize/tests/ Unit Tests] \ \ I would be happy to integrate this into the jQuery repository if it is desired. → There exists methods to serialize data from a form into a URL-encoded string or an array of objects, but there are no methods for populating a form with that data. The following is a proposed implementation of jQuery.deserialize which handles these cases (in addition to JSON objects, as created by Ben Alman's jQuery.serializeObject method).\ \ * [https://github.com/kflorence/jquery-deserialize Source Code]\ * [http://kflorence.github.com/jquery-deserialize/examples/ Live Examples]\ * [http://kflorence.github.com/jquery-deserialize/tests/ Unit Tests]\ \ I would be happy to integrate this into the jQuery repository if it is desired. |
---|
-1, Sounds like a good plugin.
Changed June 05, 2011 09:33PM UTC by comment:10
description: | There exists methods to serialize data from a form into a URL-encoded string or an array of objects, but there are no methods for populating a form with that data. The following is a proposed implementation of jQuery.deserialize which handles these cases (in addition to JSON objects, as created by Ben Alman's jQuery.serializeObject method).\ \ * [https://github.com/kflorence/jquery-deserialize Source Code]\ * [http://kflorence.github.com/jquery-deserialize/examples/ Live Examples]\ * [http://kflorence.github.com/jquery-deserialize/tests/ Unit Tests]\ \ I would be happy to integrate this into the jQuery repository if it is desired. → There exists methods to serialize data from a form into a URL-encoded string or an array of objects, but there are no methods for populating a form with that data. The following is a proposed implementation of jQuery.deserialize which handles these cases (in addition to JSON objects, as created by Ben Alman's jQuery.serializeObject method). \ \ * [https://github.com/kflorence/jquery-deserialize Source Code] \ * [http://kflorence.github.com/jquery-deserialize/examples/ Live Examples] \ * [http://kflorence.github.com/jquery-deserialize/tests/ Unit Tests] \ \ I would be happy to integrate this into the jQuery repository if it is desired. |
---|
-1, Great work, but it is certainly a lot of code to add for something we don't need in core and that doesn't come up every day for endusers...
Changed June 06, 2011 02:45PM UTC by comment:11
description: | There exists methods to serialize data from a form into a URL-encoded string or an array of objects, but there are no methods for populating a form with that data. The following is a proposed implementation of jQuery.deserialize which handles these cases (in addition to JSON objects, as created by Ben Alman's jQuery.serializeObject method). \ \ * [https://github.com/kflorence/jquery-deserialize Source Code] \ * [http://kflorence.github.com/jquery-deserialize/examples/ Live Examples] \ * [http://kflorence.github.com/jquery-deserialize/tests/ Unit Tests] \ \ I would be happy to integrate this into the jQuery repository if it is desired. → There exists methods to serialize data from a form into a URL-encoded string or an array of objects, but there are no methods for populating a form with that data. The following is a proposed implementation of jQuery.deserialize which handles these cases (in addition to JSON objects, as created by Ben Alman's jQuery.serializeObject method).\ \ * [https://github.com/kflorence/jquery-deserialize Source Code]\ * [http://kflorence.github.com/jquery-deserialize/examples/ Live Examples]\ * [http://kflorence.github.com/jquery-deserialize/tests/ Unit Tests]\ \ I would be happy to integrate this into the jQuery repository if it is desired. |
---|
-1, I think deserialize/deparam are useful enough for us to consider as core plugins though
Changed June 07, 2011 06:53PM UTC by comment:12
milestone: | 1.next → 1.7 |
---|---|
resolution: | → wontfix |
status: | open → closed |
Closing per 1.7 roadmap meeting resolution
Have a look at: http://docs.jquery.com/JQuery_Core_Style_Guidelines