You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/03 18:29:59 UTC

[jira] [Commented] (NIFI-1660) Enhance the expression language with jsonPath function

    [ https://issues.apache.org/jira/browse/NIFI-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15314548#comment-15314548 ] 

ASF GitHub Bot commented on NIFI-1660:
--------------------------------------

Github user markap14 commented on the issue:

    https://github.com/apache/nifi/pull/303
  
    @ckmcd an example would be something like: 
    ${ hello:jsonPath( '$.${elementOfInterest}.items[0]') }
    
    Here, we are referencing an attribute within the JSON Path, so it is not a String Literal.


> Enhance the expression language with jsonPath function
> ------------------------------------------------------
>
>                 Key: NIFI-1660
>                 URL: https://issues.apache.org/jira/browse/NIFI-1660
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 0.5.1
>            Reporter: Christopher McDermott
>            Assignee: Joseph Witt
>            Priority: Minor
>             Fix For: 1.0.0, 0.7.0
>
>
> jsonPath would evaluate a JSON path provided, as an argument, against the subject.
> Example
> {quote}
> $\{kafka.key:jsonPath('$.foo.bar')\}
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)