nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil Rai <anilrain...@gmail.com>
Subject JSON Path Expression
Date Fri, 27 Apr 2018 19:14:11 GMT
Experts,

Input JSON
-------
{ "fields":[
        {
            "maskType": "a",
            "name": "Id"
        },
        {
            "maskType": "b",
            "name": "Type"
        }
]
}
-----------

JsonPath : $.fields[?(@.name=="Type")].maskType

--------------

Expected Output
-------
[
"b"
]
--------

But EvaluateJsonPath processor is giving me []

Any idea?

Thanks
Anil

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message