Camel jsonpath to validate null or empty of an array.
Issue
Validate If the value of an element in a JSON message is null in the array. Please provide the syntax that can be used in a Camel route for validating null elements of an array.
{
"ResponseCode": 1,
"ErrorCode": 0,
"Result": [0]
}
Validate whether an array of "Result" is null or empty.
Environment
Red Hat Fuse
7.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.