Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello, I'm trying to set the context of my feed which has this structure :
[
{
"Id": 1817,
"Type": 10,
},
{
"Id": 1819,
"Type": 20,
}
]
I want to get only elements with Type value is 20, so I've set context like this : $.[?(@.Type == 20)]
This command produce an error 500. Isn't it the correct syntax to do that?
Thanks !
Comments