{"action":"created","issue":{"url":"https://api.github.com/repos/deitch/searchjs/issues/3","labels_url":"https://api.github.com/repos/deitch/searchjs/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/deitch/searchjs/issues/3/comments","events_url":"https://api.github.com/repos/deitch/searchjs/issues/3/events","html_url":"https://github.com/deitch/searchjs/issues/3","id":89167605,"number":3,"title":"Just flat objects?","user":{"login":"janober","id":6249596,"avatar_url":"https://avatars.githubusercontent.com/u/6249596?v=3","gravatar_id":"","url":"https://api.github.com/users/janober","html_url":"https://github.com/janober","followers_url":"https://api.github.com/users/janober/followers","following_url":"https://api.github.com/users/janober/following{/other_user}","gists_url":"https://api.github.com/users/janober/gists{/gist_id}","starred_url":"https://api.github.com/users/janober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janober/subscriptions","organizations_url":"https://api.github.com/users/janober/orgs","repos_url":"https://api.github.com/users/janober/repos","events_url":"https://api.github.com/users/janober/events{/privacy}","received_events_url":"https://api.github.com/users/janober/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-18T01:07:24Z","updated_at":"2015-06-18T01:53:47Z","closed_at":null,"body":"Hello,\r\n\r\njust found that library and it really looks great. Would love to use it. However all the examples use just flat objects. What if I have multiple levels? Or if I have multiple levels and one of them is an array?\r\n\r\nSo something like this:\r\n```\r\n[\r\n  {\r\n    name: 'Frank', \r\n    address: {\r\n      city: 'munich'\r\n    },\r\n    cars: [\r\n     {\r\n        brand: 'bmw'\r\n      }\r\n    ]\r\n  }\r\n];\r\n```\r\n\r\nIs there a way to filter for \"address.city = munich\" and \"cars.brand = bmw\"?\r\n\r\nSomething totally else. Even if the above is possible I would still not be able to use it. The project does not seem to have a License. Not sure if that is on purpose but if you want that other people start using it you should probably add one.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/deitch/searchjs/issues/comments/113009397","html_url":"https://github.com/deitch/searchjs/issues/3#issuecomment-113009397","issue_url":"https://api.github.com/repos/deitch/searchjs/issues/3","id":113009397,"user":{"login":"janober","id":6249596,"avatar_url":"https://avatars.githubusercontent.com/u/6249596?v=3","gravatar_id":"","url":"https://api.github.com/users/janober","html_url":"https://github.com/janober","followers_url":"https://api.github.com/users/janober/followers","following_url":"https://api.github.com/users/janober/following{/other_user}","gists_url":"https://api.github.com/users/janober/gists{/gist_id}","starred_url":"https://api.github.com/users/janober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janober/subscriptions","organizations_url":"https://api.github.com/users/janober/orgs","repos_url":"https://api.github.com/users/janober/repos","events_url":"https://api.github.com/users/janober/events{/privacy}","received_events_url":"https://api.github.com/users/janober/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T01:53:47Z","updated_at":"2015-06-18T01:53:47Z","body":"Wow thanks for the fast answer!\r\n\r\nSo it sounds like its currently not possible ;-)\r\n\r\nAh yes, it is true if there is a dot in the key it would cause problems. Did not mean that it has to work that way, that was just an example of how I somehow would have expected it to work (and what I unsuccessfully tried). Dot notation is already out there and I think widely used and immediately obvious what is intended. It would also possible to use something else like \"->\" or if you want to make sure that there is no danger of collision at all also a syntax like that would probably work fine: `{address: {city: 'munich'}}` \r\n\r\nAh great to hear about the license! Thanks!"}}