Please help me with this transformation, where I have multiple json arrays which are to be transformed into something like -
[
{
record: {
data: {
....
},
children: [
{
record: {
data: {
....
}
},
{
record: {
data: {
....
}
}
]
}
]
I am able to achieve this if the record.children has 1 type of element. Would really appreciate if someone can help ASAP.
@MagdaToczek, could you please have a look?
Hi,
Please help me with this transformation, where I have multiple json arrays which are to be transformed into something like - [ { record: { data: { .... }, children: [ { record: { data: { .... } }, { record: { data: { .... } } ] } ]
Here are the files I am trying with - input.txt jolt_spec.txt expected_transformed.txt current_tranformed.txt
I am able to achieve this if the record.children has 1 type of element. Would really appreciate if someone can help ASAP. @MagdaToczek, could you please have a look?
Regards, Monis