Filter a query on a JSON field

then you need a repeat (or while) in order to check this…
Give me 5’ to make a sample for you