Json – JOLT operations to filter struct based on keys given in string array
I have this JSON input: { "input": { "a": "valueA", "b": "valueB", "c": "valueC" }, "fieldsToFilterBy": [ "a", "c" ] } and i want to have this output: { "input": { "a": "valueA", "b": "valueB", "c": "valueC" }, "filteredValues": […