Skip to content
Advertisement

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 this? Thank you in advance! Answer One

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 below where I

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. Input JSON: Expected Output JSON: please help me

How can I insert an array into a specific array element using Jolt

Question/problem How can I use Jolt to insert an array into a specific object in an array? input The objects have a common set of attributes, but support optional attributes. Specific objects need to get these optional attributes depending on their specific position in the array, i.e. second ([1]). These optional attributes are to be added as part of the

Advertisement