Support Questions

Find answers, ask questions, and share your expertise

Extract a text from Json

avatar
Expert Contributor

Hi,

I am using the attached flattened json message and i would like to extract payload attribute in order to decode it. I use the EvaluateJsonFormat with flowfile-attribute destination and added payload property with $.payload but it doesn't just extract only payload and it returns all the Json message.

Any thoughts what i am doing wrong?

Thanks

1 ACCEPTED SOLUTION

avatar
Master Guru
@Sanaz Janbakhsh

i tried with your json message and eval json path processor with

payload property as $.payload 

processor working as expected..

42581-eval-json.png

Output:-

42582-op.png

Can you share screenshots about your processors configurations,input to processor and flow, that would be great help to find root cause of your issue.

View solution in original post

2 REPLIES 2

avatar
Master Guru
@Sanaz Janbakhsh

i tried with your json message and eval json path processor with

payload property as $.payload 

processor working as expected..

42581-eval-json.png

Output:-

42582-op.png

Can you share screenshots about your processors configurations,input to processor and flow, that would be great help to find root cause of your issue.

avatar
Expert Contributor

Awesome. Thanks Shu