How to map a collection to Web API request with JSON template?
From example I have the following JSON Template & I want to map it to collection:
{
"SourceFiles": [
{
"Field1": "[Field1Value]",
"Field2": "[Field2Value]",
}
]
}
I have a collection which have values of "Field1" and "Field2".
How I can map the collection values to the above template?
Thanks in advance
From example I have the following JSON Template & I want to map it to collection:
{
"SourceFiles": [
{
"Field1": "[Field1Value]",
"Field2": "[Field2Value]",
}
]
}
I have a collection which have values of "Field1" and "Field2".
How I can map the collection values to the above template?
Thanks in advance