Not sure if this is possible in jolt. We are trying to extract a value whose field name is indexed by another field. Please take a look at the description below.
{
"_src" : {
"SomeName" : 123,
"FName" : "SomeName"
}
}
to
{
"val": "123",
"_src" : {
"SomeName" : 123,
"FName" : "SomeName"
}
}
Any ideas on how approach this, or if this is even possible in JOLT? Thanks