Opened 12 years ago
Closed 12 years ago
#8980 closed feature (wontfix)
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 (last modified by )
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.
Change History (12)
comment:1 follow-up: 2 Changed 12 years ago by
Component: | unfiled → ajax |
---|---|
Owner: | set to kflorence |
Priority: | undecided → low |
Status: | new → pending |
comment:2 Changed 12 years ago by
Status: | pending → new |
---|
Replying to 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.
comment:3 Changed 12 years ago by
Keywords: | needsreview added |
---|---|
Status: | new → open |
I think this is best implemented as a plugin.
comment:5 Changed 12 years ago by
I believe Ben has recently done some significant work on a deserialize() implementation
comment:8 Changed 12 years ago by
Description: | modified (diff) |
---|
-1, If we don't need it in core, it should be a plugin.
comment:10 Changed 12 years ago by
Description: | modified (diff) |
---|
-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...
comment:11 Changed 12 years ago by
Description: | modified (diff) |
---|
-1, I think deserialize/deparam are useful enough for us to consider as core plugins though
comment:12 Changed 12 years ago by
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