jsonpath_expression= parse("$.arrangement[?(@.duplication == True )]") for match in jsonpath_expression.find(config): print(match.value) it is not filtering the data which has duplication == True