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.
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.
-
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.
Please sign in to leave a comment.
Comments 1