Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [jolt]

A JSON to JSON transformation library written in Java.

0 votes
1 answer
24 views

Filter JSON keys with wild card

I'm using NiFi for the first time. I have the basics down, but I think I'm making the common error of thinking programmatically instead of set wise. I'm given the following JSON: { "ABC#01&...
JimF's user avatar
  • 161
1 vote
1 answer
16 views

Jolt Transformation for fetching value of map based on dynamic key

I have input like { "searchType": "SR", "searchTypeMap": { "SR":"CREDIT_APPLICATION", "SQ":"CREDIT_QUOTATION", &...
Parth Gohel's user avatar
1 vote
1 answer
24 views

Convert Flat json to tree with Nested array

I'm trying convert JSON by NiFi JOLTTransformRecord processor to tree with nested array. But I am having some trouble with converting the flat JSON to Nested JSON. I have looked at examples and didn't ...
0 votes
1 answer
23 views

Jolt transform JSON to different JSON structure

Having this structure as response from webservice { "software": [ { "service": "someService", "versions": [ "24.32.1.57-docker&...
Nikolay Marinov's user avatar
0 votes
0 answers
43 views

Jolt nested conditions

I would like to check a condition and based on the type, would like to check another condition. For BookingType:3, If TrackingList is available in the input, output should have a flag "...
Vikas Gonti's user avatar
0 votes
1 answer
30 views

Copy object in same array in jolt with key name change

I want to copy some piece of object in array and put it in same array. Also i want to change key of new object. I want to duplicate only if it matches with some value which is there in array itself. ...
vinayak gupta's user avatar
0 votes
1 answer
17 views

Jolt Remove Entry if a key is not present

My input JSON is like below [ { "id": "112", "key": "value1", "dfsf": "dffd" }, { "key1": "value2" ...
Shashi Kiran GM's user avatar
0 votes
1 answer
29 views

Duplicate JSON Objects into list of JSON Objects using JOLT

My Input JSON is as below: [ { "key1": "value1", "key2": "value2", "desc1": "test1", "desc2": "test2", ...
Shashi Kiran GM's user avatar
0 votes
1 answer
23 views

Needed Jolt Specification in NiFi Processor to Convert JSON

I am new to using Jolt specifications and need some assistance. I am trying to convert a JSON object using a Jolt specification in an Apache NiFi processor. The input JSON looks like this: { "...
Ryan's user avatar
  • 175
-5 votes
0 answers
29 views

JOLT spec to perform group by ID and condition check on nested json [duplicate]

Please help me to provide JOLT spec for the below input json. tried multiple approach but still not working there is an condition check on risk attribute if risk is "0" then risklevel low ....
Manjunath k's user avatar
3 votes
1 answer
35 views

How to remove a null element from an array using the Jolt Transformation specification?

I want to remove null elements from the array using the Jolt spec. Example: Input: { "arrayOne": [ null, { "key1": "value1", "key2": "...
user2988851's user avatar
0 votes
1 answer
42 views

Transform a json string in json to another json using jolt transformation

I am new to jolt transformation. what would be the jolt spec to transform my source json { "version": "123", "payload": { "details": { "...
rDX's user avatar
  • 228
1 vote
2 answers
44 views

JOLT spec to perform group by ID and condition check on nested json

Please help me to provide a JOLT spec for the below input JSON. Tried multiple approaches but still not working. There is a condition check on the risk attribute; if the risk is "0," then ...
Manjunath k's user avatar
2 votes
2 answers
34 views

Modify json based on condition with jolt

I am given the below json and it needs to be concatenated based on condition if it not null { "id": "4583", "price": "149.99", "sale_price": &...
shelby's user avatar
  • 33
0 votes
2 answers
52 views

What is jolt conversion spec for the given input and output

The possible values for applicableOn field are already known but they are not limited to clothes and bags like given in this sample input. Also, there can be multiple elements in purchases array with ...
Rachana's user avatar

15 30 50 per page
1
2 3 4 5
106