Is there a way to refer to original FlowFile after AttributesToJSON  call?
Destination set to flowfile-content.
Or is there a way to produce a FlowFile from an attribute?

I need to extract some properties from Twitter JSON, convert to a new JSON,
and after to extract another property from original JSON.

I can't do it before because this property will be included in a newly
generated JSON.

I am still battling with extracting "entities" entry from Twitter JSON. I
also extract "text" from tweet and found out if I just blindly replace
escaped JSON after conversion it brakes JSON in case when "text" contains
quotes.

So my idea is to put some kind of placeholder parameter and replace it
after conversion with original "entity" value.

Hope I explained problem good enough.

Thanks in dvance.

Reply via email to