I want to get a Array with all Clusters wherefoldercontains "Admin"
This $Path gives me one result in my case. $..[?(@.folder=="User/Admin/UserA")]
How can I receive all folders? Something like $..[?(@.folder=="User/Admin/*")]isn't working. Are regEx operators (=~) or the query commandcontainsnot working?
[CR] JSONtext
in Code Repository (Certified)
Posted
Hi, I am trying to filter an Array like this:
I want to get a Array with all Clusters where folder contains "Admin"
This $Path gives me one result in my case.
$..[?(@.folder=="User/Admin/UserA")]
How can I receive all folders? Something like $..[?(@.folder=="User/Admin/*")] isn't working. Are regEx operators (=~) or the query command contains not working?
Thank you,
Albert