C
C#•6mo ago
Alper

urgent ! it's related with json serializer

hello, Document = new NodeDocument() { Content = JsonSerializer.Serialize(document, new JsonSerializerOptions() { PropertyNamingPolicy = JsonNamingPolicy.CamelCase }), } i store content on db as serialized json. when i hit endpoint with postman it works well. But i released project to azure and hit endpoint on website, the some properties missing (i added 2 property and there are primitive type (dictionary)) i think problem related with json serializer but i couldn't figure out 😦 i tried with system.text and newtonsoft but doesn't change anything.
0 Replies
No replies yetBe the first to reply to this messageJoin