Jolt Transformation: Un-nest object of form "key":{"value":"xyz"} to "key":"value"

I need to unwrap JSON objects in order to reduce the nesting of input like [ { "key1": { "value": "abc" }, "key2": { "value": "xyz" } }, { "key1": { "value": "123" }, "key2": { "value": "456" } } ] Instead it can just map straight to the value without the unnecessary object nesting.… Read More Jolt Transformation: Un-nest object of form "key":{"value":"xyz"} to "key":"value"

Perform cardinality-Many in JOLT

I want to write a Jolt definition using cardinality-Many that can transform object "PO_POD_LN_EVW1" into list and ignore if its already a list. Input JSON : { "PURCHASE_ORDER_DISPATCH": { "MsgData": { "Transaction": { "PSCAMA": { "PUBLISH_RULE_ID": { "IsChanged": "Y" } }, "PO_POD_HDR_EVW1": { "STATE_BILL": "", "CURRENCY_CD": { "IsChanged": "Y", "content": "USD" }, "ADDRESS4_VNDR": "", "PO_POD_LN_EVW1":… Read More Perform cardinality-Many in JOLT

How can I add key and values from one object into each object in an array via jolt

I’m using jolt and I have an input object where I would like to take the keys out of one property and insert them into each object of an array in another property: My input: { "jolt_marketplaceMetadata": { "NAN_KEY": 1, "TEMP": 3 }, "jolt_attributes": [ { "name": "HELLO", "yyup": 3 }, { "huh": "please", "work":… Read More How can I add key and values from one object into each object in an array via jolt