{"action":"opened","issue":{"url":"https://api.github.com/repos/jiren/filter.js/issues/108","labels_url":"https://api.github.com/repos/jiren/filter.js/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/jiren/filter.js/issues/108/comments","events_url":"https://api.github.com/repos/jiren/filter.js/issues/108/events","html_url":"https://github.com/jiren/filter.js/issues/108","id":116917149,"number":108,"title":"Filtering on empty values in json throws error","user":{"login":"bpuschl","id":1256595,"avatar_url":"https://avatars.githubusercontent.com/u/1256595?v=3","gravatar_id":"","url":"https://api.github.com/users/bpuschl","html_url":"https://github.com/bpuschl","followers_url":"https://api.github.com/users/bpuschl/followers","following_url":"https://api.github.com/users/bpuschl/following{/other_user}","gists_url":"https://api.github.com/users/bpuschl/gists{/gist_id}","starred_url":"https://api.github.com/users/bpuschl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpuschl/subscriptions","organizations_url":"https://api.github.com/users/bpuschl/orgs","repos_url":"https://api.github.com/users/bpuschl/repos","events_url":"https://api.github.com/users/bpuschl/events{/privacy}","received_events_url":"https://api.github.com/users/bpuschl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-14T10:47:02Z","updated_at":"2015-11-14T10:47:02Z","closed_at":null,"body":"When I have a filter where the value of the JSON is empty a expection in json_Query is thrown.\r\n\r\nUnhandled exception at line 314, column 7 in http://localhost:12212/Scripts/json_query.js\r\n0x800a138f - JavaScript runtime error: Object expected\r\n\r\nThis results in the filter not working.\r\n\r\nThis is the code that fails : rVal = qFn(v);\r\n\r\nThe value I'm filtering on is this: tool = []\r\n\r\nI want it to exclude the record since its empty. How do I do that?\r\n"}}