bazaarvoice / jolt

JSON to JSON transformation library written in Java.
Apache License 2.0
1.53k stars 328 forks source link

How to generate unique id in Jolt #1233

Closed G-Balamurugan closed 4 months ago

G-Balamurugan commented 4 months ago

How to generate unique id in Jolt , by both as numeric and characters [ { "operation": "default", "spec": { "uniqueId": "=uuid()" } } ] this is not working

gbouget commented 4 months ago

Hello, you need to create a new custom java function.

G-Balamurugan commented 4 months ago

thank you

G-Balamurugan commented 4 months ago

Can you help me , on how to assign the new custom java function value to field in json