skip to Main Content

JsonSerializer.Deserialize always returns Null

Trying to deserialize the following json string: string json = "{"d":{"__metadata":{"id":"http://my.dev.int:8000/sap/opu/odata/sap/ZFIORI_SERIAL_NUMBERS_SRV/MATERIALSet('250')","uri":"http://my.dev.int:8000/sap/opu/odata/sap/ZFIORI_SERIAL_NUMBERS_SRV/MATERIALSet('250')","type":"ZFIORI_SERIAL_NUMBERS_SRV.MATERIAL"},"MATNR":"250","MAKTX":"X:K10/MF250"}}"; into Class Object namespace Scanner.Model { public class Material { public string MATNR { get; set; } public string MAKTX { get; set; } } } I have tried…

VIEW QUESTION

What i need to do to replace PnP.Core.Services with CSOM for our Azure Function which uses .net 6.0

I have an Azure Function which uses PnP.Core.Services to interact with SharePoint to create a list item. The Azure function is based on .net version 6.0. I have this startup.cs:- using Microsoft.Azure.Functions.Extensions.DependencyInjection; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using PnP.Core.Auth; using System.Security.Cryptography.X509Certificates;…

VIEW QUESTION
Back To Top
Search