This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Hello!
I am trying to uniformize document schema, I was not able to achieve it using a mapper or a JSon formatter snap.
For instance, if I have this input (using JSonGenerator)
[
{
"num" : 1
},
{
"msg" : "Hello, World", "...
Wow! thank you a lot @alchemiz ! That’s brillant !
I am using a ‘Gate’ Snap to gather the document in one and thus I can use the logic you built in the mappers and it works A1 !
Have a nice week !
Thank you @koryknick but this sample shows how to pass a script file as a pipeline parameter,
Me I want to use a pipeline parameter inside a script. (Be able to reference a pipeline parametre from inside my javascript script)