camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6238) support JSONPath as a Camel Language for easy JSON filtering and expression evaluation
Date Wed, 27 Nov 2013 08:21:35 GMT

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

Claus Ibsen commented on CAMEL-6238:
------------------------------------

You should use the DSL from camel-core, and not really the api in camel-jsonpath, eg as shown
above, as there is a 2nd parameter now for the resultType.

> support JSONPath as a Camel Language for easy JSON filtering and expression evaluation
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6238
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6238
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: james strachan
>            Assignee: Claus Ibsen
>             Fix For: 2.13.0
>
>
> JSON is a very popular message format; yet its kinda painful performing expressions on
it as typically you have to marshal it first into some specific domain model (or Maps / Lists)
and then use some general purpose Java expression language on it.
> JSONPath looks pretty cool though; kinda like XPath but designed for arbitrary JSON payloads
> https://code.google.com/p/json-path/
> the library is small & Apache licensed so it should be pretty easy to wrap up as
a Camel Language



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message