Json2Json Transformation Performance Comparison
Note: Second values are for comparison.
Using Jolt
Performance: 1 sec (Best)
Sample Input
CODE
JOLT Transformation Code
CODE
Sample Output:
CODE
UsingGroovy JsonPlurp
Performance: 10sec
GROOVY
Using JsonTemplate strings and for loop with JsonPath
Performance: 20sec
GROOVY
Using JsonTemplate string and for loop with Json Path and partial json
Performance: 40 sec (worst)
GROOVY