Skip to content

Tag: jolt

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: And the expected output is: The JOLT Spec is: The JSON input is: Any option to add the static URL link to

Adding default values to array in Jolt

I am trying to transform a json using jolt, it’s just adding some default values to an array. the input looks like this: The output should be: My spec looks right now: I just can’t pass the valC to the listWithItems and haven’t found anything in the documentation. Can someone help me with th…

Null Check in Jolt while converting string to integer For an Object

I am doing conversion of string to integer/double in my jolt spec. If elements does not come in request, then empty object is coming in response. Instead I do not want to pass that object itself as its empty. Input Request Working: Jolt Spec: Output if tag is there in request: But when input request is like b…

Jolt Transformation Spec for array of arrays [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question I hava a json input and expected output is below. please help me in generating the spec. Inp…