title: How to query a json file on a server
body: <p>How to "query" a json file on server with javascript?
  Filtering on server side, with ajax request.</p>
  
  <pre><code>{"employees":[
      {"firstName":"John", "lastName":"Doe"},
      {"firstName":"Anna", "lastName":"Smith"},
      {"firstName":"Peter", "lastName":"Jones"}
  ]}
  </code></pre>
  
  <p>Something like "select * from emplyees like 'J%'. Shold avoid using db. Just use simple json file and be able to get only filteted data from server. 
  Need a simple, fast way to get obly needed data, using json file instead of db. Without need to install database</p>
  
  <p>Thanks in advance, best regards
  Massimo</p>