Hello,
This isn't as much of an issue as a feature, but was wondering if it makes sense provide a jQuery like API which:
- Allowes chaining
- Clings on to the jQuery object if available
So that (in the browser), one can do stuff like:
var names = JSONSelect("string.name", OBJECT).map(jQuery.trim).map(function(name) {
return "The name is: " + name;
});
names.toArray() returns the real array, but names would be a jQuery-like object.
Hello,
This isn't as much of an issue as a feature, but was wondering if it makes sense provide a jQuery like API which:
So that (in the browser), one can do stuff like:
var names = JSONSelect("string.name", OBJECT).map(jQuery.trim).map(function(name) {
return "The name is: " + name;
});
names.toArray() returns the real array, but names would be a jQuery-like object.