You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, I would like to add a property between other properties in a JSON object.
Input:
{
"f1": "v1",
"f3": "v3"
}
Expected output:
{
"f1": "v1",
"f2": "v2",
"f3": "v3"
}
The original JSON should be kept as it is. Also, this case could go beyond, for instance, trying to add a new property in the third position, as follows:
Hi everyone, I would like to add a property between other properties in a JSON object.
Input:
Expected output:
The original JSON should be kept as it is. Also, this case could go beyond, for instance, trying to add a new property in the third position, as follows:
Input:
Output:
There, the property
f2.1
was added as 3th element in the JSON object.Not sure how to build a JOLT transformation for that, so, any help would be appreciated.
The text was updated successfully, but these errors were encountered: