I am using magic chunks Config transformation on azure devops release pipeline, I am trying to add array element in appsettings.jason, but I could not find any real example how to to it, I created array with following code ->
"my_array[]`0',
but it gave result like this :
{
"my_array" :
[
"value" : 1,
]
}
it could not add object element in it, I want to create following json in appsetting :
{
"my_array" :
[
{"value" : 1},
{"value" : 5}
]
}
I found that the following code must work but it does not :
my_array[]`0/@value