jsonselect/jsonselect.py
def select(selector, obj):
    """Appy selector to obj and return matching nodes.

    If only one node is found, return it, otherwise return a list of matches.
    Returns False on syntax error. None if no results found.
    """

    parser = Parser(obj)
    try:
        return parser.parse(selector)
    except SelectorSyntaxError as e:
        log.exception(e)
        return False
def select(selector, obj):
    parser = Parser(obj)
    try:
        return parser.parse(selector)
    except SelectorSyntaxError as e:
        log.exception(e)
        return False
def select ( selector , obj ) : parser = Parser ( obj ) try : return parser . parse ( selector ) except SelectorSyntaxError as e : log . exception ( e ) return False
Appy selector to obj and return matching nodes.

    If only one node is found, return it, otherwise return a list of matches.
    Returns False on syntax error. None if no results found.
Appy selector to obj and return matching nodes .