title: JSON query matching
body: <p>For the given input JSON:</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;person&quot;: {
      &quot;name&quot;: &quot;John&quot;,
      &quot;age&quot;: 25
    },
    &quot;status&quot;: {
      &quot;title&quot;: &quot;assigned&quot;,
      &quot;type&quot;: 3
    }
  }
  </code></pre>
  <p>I need to build a string query that I could use to answer if the given JSON matches it or not. For example <strong>if the given person's name is &quot;John&quot; and his age is in the range of 20..30 and his status is not 4</strong>.<br />
  I need the query to be presented as a string and a commonly known library that can run it. I need it on multiple platforms (iOS, Android, Xamarin). I've tried JSON Path and JSON schemas, but didn't really figure out if it's able to achieve that with them. JSON Path seems to be specified on finding a single value in the JSON by a certain condition and JSON Schema mostly checks for the data structure and types.</p>