title: How can I JSON path without a values?
body: <p>So, I'm wondering how I can JSON path to the id <code>508018304019857419</code>, I'm trying out <code>$[?(@ == 508018304019857419)].rolesList</code> but it just doesn't work. What can I do?</p>
  <p>I'm trying to find <code>508018304019857419</code> and collect <code>rolesList</code></p>
  <p><em>JSON:</em></p>
  <pre><code>[
     {
        &quot;508018304019857419&quot;:{
           &quot;rolesList&quot;:[
              &quot;Guest&quot;,
              &quot;Presidential Team&quot;,
              &quot;Chief Executive Officer&quot;,
              &quot;[-] Co Founder&quot;,
              &quot;[-] Founder&quot;,
              &quot;[-] Group Holder&quot;
           ]
        }
     },
     {
        &quot;222078108977594368&quot;:{
           &quot;rolesList&quot;:[
              &quot;Guest&quot;,
              &quot;Test1&quot;,
              &quot;Test2&quot;,
              &quot;Test3&quot;,
              &quot;Test4&quot;,
              &quot;Owner&quot;
           ]
        }
     }
  ]
  </code></pre>