Category "jolt"

Jolt Transform: Single Value can't be added to an Array

I have the following Jolt Spec [ { "operation": "shift", "spec": { "*": { "value": "[]" } } }, { "operation": "shift

How to replace text for some properties using jolt

I'm using jolt in order to do some transformations, I've been able to do that but I'm having some issues trying to replace some text in some properties of my JS

JOLT split flat object into key/value array

I'd like to split simple flat object into array, so each key/value appear as array element. Example: Input { "FIRST_NAME": "John", "LAST_NAME": "Doe" }

Jolt transform specification input

i have the following input json: { "tags": { "event": "observation", "source": "hunter" } } The output JSON should look like below: { "tags" : [

Jolt add key value to children

I am using NiFi Jolt Processor to transform some JSON data. I need to create array of objects. I can get all objects from assets, but I want to add each date in

How to append extra fields to list in JOLT?

I'm trying to add some extra fields to the list which are not there in the input json. I can add fields if it's an object, but I'm not able to add the fields to

How do I transform an array using Jolt?

I am getting a null value for my transformed object when trying to convert something like this: { "employees": [ { "f_name" : "tom", "l_name" : "smith"