how to deserialize the property which has xml value but rest are json values
I have an azure function and which receives the request as below . One of the property has xml value . But when I desearialize it to json ,i’m getting the error.
{
"policyVersionedApiName": "petstoreoperationpolicyapi",
"operationPolicies": [
{
"policyFormat": "rawxml",
"operationId": "createUsersWithArrayInput",
"policyValue": "<policies> <inbound> <base/> <ip-filter action="allow"> <address>10.100.7.1</address> </ip-filter> </inbound> </policies>",
}
]
}
Read more here: Source link