Skip to content
Advertisement

Concatenating a string to a JOLT value output

I using JOLT to transform and extract a URL of an object, but it’s only the URL slug. Is it possible to concatenate a static string to that slug to have a full URL?

The current output is:

JavaScript

And the expected output is:

JavaScript

The JOLT Spec is:

JavaScript

The JSON input is:

JavaScript

Any option to add the static URL link to the output?

Advertisement

Answer

You can add a modify spec with concat function after the current shift transformation spec such as

JavaScript
Advertisement