Vyshali,

I think you can use JoltTransformJSON processor. If you want to rename this
to a file, connect JoltTransformJSON with UpdateAttribute and update tye
filename attribute there. Hope this helps.

-
Sivaprasanna

On Thu, 19 Jul 2018 at 9:27 PM, N, Vyshali <[email protected]> wrote:

> Hi,
>
>
>
> My requirement is that I want add the entire json content from one file to
> another json file by adding a new attribute.
>
>
>
> For example, I have the following content in one file,
>
>
>
> {
>
>   Plant: 8415,
>
>   Module: M1
>
> }
>
>
>
> The above content should be merged to another json file with the addition
> of “Data” attribute as,
>
>
>
> {
>
>   Id:222-2222-2222,
>
>   Data: {
>
>   Plant: 8415,
>
>   Module: M1
>
> }
>
> }
>
>
>
> Please let me know the suitable approach
>
>
>
> Regards
>
> Vyshali
>

Reply via email to