I'm looking to create a bit of JSON using Nifi Expression Language so that
I can send it to a web service. But It does not look like Nifi Expression
Language have a function for escaping text to put into JSON.  I've looked
around in the wiki and I don't see any documentation now how to extend
the Expression Language (not even sure if it is possible).

Looks like nifi makes use of Apache commons-lang which has some functions
that would do the heavy lifting. [1]

So if someone can help me understand the Expression Language end points I
could do the work fairly easily I think. And add functions for the other
formats supported by StringEscapeUtils (XML, csv, html).

I think this could be useful.

Devin

[1]
https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringEscapeUtils.html

Reply via email to