bazaarvoice / jolt

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

How to generate unique id in Jolt #1233

Closed G-Balamurugan closed 8 months ago

G-Balamurugan commented 9 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 9 months ago

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

G-Balamurugan commented 9 months ago

thank you

G-Balamurugan commented 9 months ago

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