Description

Regarding the broken .data() functionality in jQuery 1.4.3

It is expected that .data() can be used to pass a JSON encoded variable into a data attribute and having it fetched in the same structure with .data() by the client. This is true for null, boolean, number, array and object but not strings!

What I expect: To retain the structure, variables & types of the data.

What actually happens: Strings are either unparsed or accidentally parsed as something else. There is no functionality for accurately retaining the contents of strings.