Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to create Nested kind of json object at runtime through nifi processors ?

Highlighted

How to create Nested kind of json object at runtime through nifi processors ?

Explorer
I have json like structure :- 

{
"Details": {
"EntityId": {
"Type": "String",
"Value": "14a1bd26-0e4f-2a07-d6e7-cd21f965f498"
},
"Name": {
"Type": "string",
"Value": "Pipeline"
},
"TenantName": {
"Type": "string",
"Value": "v2rdemo"
},
"CreatedBy": {
"Type": "string",
"Value": "jp"
},
"ModifiedBy": {
"Type": "string",
"Value": "jp"
},
"Created": {
"Type": "datetime",
"Value": "4/26/2018"
},
"Modified": {
"Type": "datetime",
"Value": "4/26/2018"
},
"ImageUrl": {
"Type": "string",
"Value": "LineString"
}
},
"Topic": {
"Participants": [{
"UserName": "jp",
"UserId": null,
"LastChat": "4/26/2018"
}],
"LastChat": "4/26/2018"
}
}
This json will come from one source, I need to add one more object in the above json object like

"Tag": {
"Type": "string",
"Value": "dkfjslkfj89eghhl"
} 
I tried to throgh jolt json transform but I'm not able to clearly understand how to do, even tried through evaluateJsonPath but not able to feed the values inside objects.
Don't have an account?
Coming from Hortonworks? Activate your account here