Cyber Deals - Get up to 65% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

# filter items less than 40
$[?(@ < 40)]

# $ is the root of json content
# ? for checking with ()
# @ is the item


$[?(@ == 40)]
$[?(@ != 40)]
$.car.wheels[?(.location == "rear-right")].model
Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.
Share: