Skip to content

JQuery like API? #8

@dhruvbird

Description

@dhruvbird

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions