JSON Format issue

Support/help with CloverETL (4.9) and CloverDX (5.0 or newer) implementation problems

jagan
Posts: 12
Joined: Tue Aug 19, 2014 2:33 pm

JSON Format issue

Postby jagan » Wed Aug 27, 2014 11:09 am

Hi Team,

I am trying to format JSON, below is the sample working JSON format.

I am hardcoding advertiser, attributeContext etc.

Instead of hard coded can i get it from meta data.

$out.0.requestContent=
'{"advertiser":'+'"'+$in.0.advertiser+'"'
+',"attributeContext":'+'"'+$in.0.attributeContext+'"'
+',"attribute1D":'+'"'+$in.0.attribute1D+'"'
+'}';

Thanks,
Jagan.

kubosj
Posts: 372
Joined: Thu Jan 12, 2012 9:10 am

Re: JSON Format issue

Postby kubosj » Wed Aug 27, 2014 2:27 pm

Hi jagan,

In commercial versions of CloverETL you can use http://doc.cloveretl.com/documentation/ ... riter.html

I am afraid that in Community/OpenSource versions you have to do it using your approach.
Jaroslav Kubos
CloverCARE Support
CloverETL | Rapid Data Integration

Visit us online at http://www.cloveretl.com


cron